Skip to content

Commit

Permalink
refactor: removing old arguments parser from error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 committed Oct 8, 2023
1 parent e153778 commit 15bbcaf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions conventional_commits_linter/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
}?;

Expand Down

0 comments on commit 15bbcaf

Please sign in to comment.