Skip to content

Commit

Permalink
chore: improve log message
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19 committed Nov 18, 2024
1 parent 065124c commit b21b757
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/archive/sevenz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ where
if let Ok(handle) = &output_handle {
if matches!(Handle::from_path(path), Ok(x) if &x == handle) {
warning(format!(
"The output file and the input file are the same: `{}`, skipping...",
"Cannot compress `{}` into itself, skipping.",
output_path.display()
));

Expand Down
2 changes: 1 addition & 1 deletion src/archive/tar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ where
if let Ok(handle) = &output_handle {
if matches!(Handle::from_path(path), Ok(x) if &x == handle) {
warning(format!(
"The output file and the input file are the same: `{}`, skipping...",
"Cannot compress `{}` into itself, skipping.",
output_path.display()
));

Expand Down
2 changes: 1 addition & 1 deletion src/archive/zip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ where
if let Ok(handle) = &output_handle {
if matches!(Handle::from_path(path), Ok(x) if &x == handle) {
warning(format!(
"The output file and the input file are the same: `{}`, skipping...",
"Cannot compress `{}` into itself, skipping.",
output_path.display()
));
}
Expand Down

0 comments on commit b21b757

Please sign in to comment.