We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcbf79 commit fabd47aCopy full SHA for fabd47a
implement-shell-tools/ls/ls.js
@@ -79,14 +79,6 @@ async function listFiles(type) {
79
const files = await fs.readdir(formattedPath);
80
const sortedOutput = files.sort((a, b) => a.localeCompare(b));
81
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
-
90
if (char["a"]){
91
output = flag_a(sortedOutput)
92
} else {
@@ -96,8 +88,6 @@ async function listFiles(type) {
96
output.push(file)
97
}
98
})
99
100
- // output = sortedOutput
101
102
103
93
if (char["1"]){
0 commit comments