Skip to content

Commit 54dccea

Browse files
committed
ls: Use maybe_quote for loop error message (fixes GNU test)
1 parent 3e1e617 commit 54dccea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uu/ls/src/ls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ enum LsError {
206206
#[error("{}", translate!("ls-error-dired-and-zero-incompatible"))]
207207
DiredAndZeroAreIncompatible,
208208

209-
#[error("{}", translate!("ls-error-not-listing-already-listed", "path" => .0.quote()))]
209+
#[error("{}", translate!("ls-error-not-listing-already-listed", "path" => .0.maybe_quote()))]
210210
AlreadyListedError(PathBuf),
211211

212212
#[error("{}", translate!("ls-error-invalid-time-style", "style" => .0.quote()))]

0 commit comments

Comments
 (0)