Skip to content

Commit 754587f

Browse files
committed
ls simplified
1 parent d709f3b commit 754587f

File tree

1 file changed

+1
-1
lines changed
  • implement-shell-tools/ls

1 file changed

+1
-1
lines changed

implement-shell-tools/ls/ls.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (!opts.all) {
2727
}
2828

2929
if (opts.one) {
30-
visibleFiles.forEach(file => console.log(file));
30+
visibleFiles.forEach(console.log);
3131
} else {
3232
console.log(visibleFiles.join(" "));
3333
}

0 commit comments

Comments
 (0)