Commit 584f900
committed
fix(rm): update error message to use to_string_lossy for directory path
Changed the RefusingToRemoveDirectory error formatting from _0.quote() to _0.to_string_lossy() to ensure the OsString path is displayed correctly as a lossy string, likely for consistency with GNU rm behavior or to avoid quoting issues.1 parent 066df62 commit 584f900
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments