diff --git a/Cargo.lock b/Cargo.lock index 51cae36d..66e17bad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -234,9 +234,9 @@ dependencies = [ [[package]] name = "conventional_commit_parser" -version = "0.9.0" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbabc8bef3221803c9d10287037e9ca91124357c86dba7b12eb1a7458e01b81d" +checksum = "055fcb1bd59066974688b187ee56b049947161114aae6781814b6461a1f8bdd4" dependencies = [ "pest", "pest_derive", diff --git a/Cargo.toml b/Cargo.toml index 47125cba..4d2b19f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/bin/coco.rs b/src/bin/coco.rs index 26e9528a..c638cd62 100644 --- a/src/bin/coco.rs +++ b/src/bin/coco.rs @@ -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) })