mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +00:00
chore: improve log message
This commit is contained in:
parent
065124cd30
commit
b21b757af1
@ -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()
|
||||
));
|
||||
|
||||
|
@ -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()
|
||||
));
|
||||
|
||||
|
@ -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()
|
||||
));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user