Skip to content

Commit

Permalink
Debug version string when installing manpages
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Apr 4, 2024
1 parent 98403f5 commit 41514a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtask/src/install_manpages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Subcommand for Opts {
.unwrap()
.strip_prefix('v')
// UNWRAP: the version string must start with a 'v'
.unwrap()
.expect(&format!("version string should contain 'v': {:?}", cmd.get_version()))
.to_string();
let mut cmd = cmd.version(version.clone());

Expand Down

0 comments on commit 41514a7

Please sign in to comment.