Skip to content

Commit

Permalink
refactor(lib): update the log message for unprocessed tags
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 18, 2021
1 parent e7ae5a0 commit 6f154ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub fn run(mut args: Opt) -> Result<()> {
} else if args.latest {
if tags.len() < 2 {
return Err(Error::ChangelogError(String::from(
"latest tag cannot be processed",
"Latest tag cannot be processed",
)));
} else if let (Some(tag1), Some(tag2)) = (
tags.get_index(tags.len() - 2).map(|(k, _)| k),
Expand Down

0 comments on commit 6f154ce

Please sign in to comment.