Skip to content

Commit

Permalink
Fix fs_util test
Browse files Browse the repository at this point in the history
Was only running vendor tests mistakenly.
  • Loading branch information
dsherret committed Feb 15, 2022
1 parent 72fb9b4 commit c8a8aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/fs_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pub fn path_with_stem_suffix(path: &Path, suffix: &str) -> PathBuf {
if let Some(ext) = path.extension().map(|f| f.to_string_lossy()) {
return if file_stem.to_lowercase().ends_with(".d") {
path.with_file_name(format!(
"{}_{}.{}.{}",
"{}{}.{}.{}",
&file_stem[..file_stem.len() - ".d".len()],
suffix,
// maintain casing
Expand Down

0 comments on commit c8a8aa5

Please sign in to comment.