Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <github@jyn.dev>
  • Loading branch information
DebugSteven and jyn514 authored Jan 1, 2023
1 parent e62258e commit 9aebb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/x_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn check(bad: &mut bool) {
if version < expected {
return tidy_error!(
bad,
"Current version of x is {version} Consider updating to the newer version of x by running `cargo install --path src/tools/x`"
"Current version of x is {version}, but the latest version is {expected}\nConsider updating to the newer version of x by running `cargo install --path src/tools/x`"
);
}
} else {
Expand Down

0 comments on commit 9aebb1e

Please sign in to comment.