Skip to content

Commit

Permalink
reorder format
Browse files Browse the repository at this point in the history
  • Loading branch information
felipelincoln committed Oct 31, 2023
1 parent dc574a5 commit d48936e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subcommand/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ impl File {

filename.set_file_name(format!(
"{}-{}{}",
file_number,
filename.file_stem().unwrap().to_str().unwrap(),
file_number,
filename.extension().unwrap().to_str().unwrap()
));
file_number += 1;
Expand Down

0 comments on commit d48936e

Please sign in to comment.