Skip to content

Commit fabd47a

Browse files
committed
removed commented old code
1 parent 7fcbf79 commit fabd47a

File tree

1 file changed

+0
-10
lines changed
  • implement-shell-tools/ls

1 file changed

+0
-10
lines changed

implement-shell-tools/ls/ls.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,6 @@ async function listFiles(type) {
7979
const files = await fs.readdir(formattedPath);
8080
const sortedOutput = files.sort((a, b) => a.localeCompare(b));
8181

82-
// if (char["1"] && char["a"]) {
83-
// flag_1(flag_a(sortedOutput));
84-
// } else if (char["a"]) {
85-
// console.log(flag_a(sortedOutput).join(" "));
86-
// } else if (char["1"]) {
87-
// flag_1(sortedOutput);
88-
// }
89-
9082
if (char["a"]){
9183
output = flag_a(sortedOutput)
9284
} else {
@@ -96,8 +88,6 @@ async function listFiles(type) {
9688
output.push(file)
9789
}
9890
})
99-
100-
// output = sortedOutput
10191
}
10292

10393
if (char["1"]){

0 commit comments

Comments
 (0)