diff --git a/conventional_commits_linter/src/main.rs b/conventional_commits_linter/src/main.rs index 533a977..5e2a868 100644 --- a/conventional_commits_linter/src/main.rs +++ b/conventional_commits_linter/src/main.rs @@ -48,9 +48,7 @@ fn run(arguments: Arguments) -> Result<(), git2::Error> { Commits::from_reference(&repository, from_reference, arguments.git_history_mode) } (_, _, _) => { - unreachable!( - "Invalid combination of from arguments, should have been caught by structopt." - ); + unreachable!("Invalid combination of arguments."); } }?;