Skip to content

Commit 7d6a298

Browse files
committed
updated eronious boolean in ls
1 parent b28f41d commit 7d6a298

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • implement-shell-tools/ls

‎implement-shell-tools/ls/ls.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function removeDotFiles(fileList) {
115115
}
116116

117117
function print() {
118-
if (printInList == true) {
118+
if (printInList) {
119119
Flag1();
120120
}
121121
console.log(outputString.trimEnd());

0 commit comments

Comments
 (0)