mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
Revert "Fix some stuff with ls() and cat"
This commit is contained in:
@@ -834,16 +834,6 @@ function NetscriptFunctions(workerScript) {
|
||||
}
|
||||
}
|
||||
|
||||
for (var i = 0; i < server.textFiles.length; i++) {
|
||||
if (filter) {
|
||||
if (server.textFiles[i].fn.includes(filter)) {
|
||||
allFiles.push(server.textFiles[i].fn);
|
||||
}
|
||||
} else {
|
||||
allFiles.push(server.textFiles[i].fn);
|
||||
}
|
||||
}
|
||||
|
||||
//Sort the files alphabetically then print each
|
||||
allFiles.sort();
|
||||
return allFiles;
|
||||
|
||||
Reference in New Issue
Block a user