mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
CODEBASE: Fix inconsistent generated pages.ts (#2236)
This commit is contained in:
@@ -16,7 +16,7 @@ const processDir = (dir) => {
|
||||
return;
|
||||
}
|
||||
console.log(dir);
|
||||
for (const file of fs.readdirSync(dir)) {
|
||||
for (const file of fs.readdirSync(dir).sort((a, b) => a.localeCompare(b, "en-US"))) {
|
||||
const filePath = path.join(dir, file);
|
||||
if (fs.lstatSync(filePath).isDirectory()) {
|
||||
processDir(filePath);
|
||||
|
||||
Reference in New Issue
Block a user