Skip to content

Commit

Permalink
chore: update conventional commit parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Delafosse authored and oknozor committed Nov 30, 2021
1 parent 04befc1 commit 9c52c23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ which = "^4"
lazy_static = "^1"
toml = "^0"
structopt = { version = "^0", optional = true }
conventional_commit_parser = "0.9.0"
conventional_commit_parser = "0.9.2"
pest = "2.1.3"
pest_derive = "2.1.0"
tera = "1.12.1"
Expand Down
1 change: 1 addition & 0 deletions src/bin/coco.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ fn main() -> Result<()> {
let separator = match footer.token_separator {
Separator::Colon => ": ",
Separator::Hash => " #",
Separator::ColonWithNewLine => " \n",
};
format!("{}{}{}", footer.token, separator, footer.content)
})
Expand Down

0 comments on commit 9c52c23

Please sign in to comment.