mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 02:10:44 -05:00
Fix mod sort order (#1104)
Make sure mods are in proper alphabetical order, fsExtra is throwing special characters last for some reason --------- Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
This commit is contained in:
parent
bdeddde1ff
commit
fc1072c91e
@ -363,6 +363,7 @@ export class FileSystem {
|
||||
.map((dirent) => path.join(dirent.parentPath, dirent.name).replace(/\\/g, "/"))
|
||||
// Optionally remove the input directory from the path.
|
||||
.map((dir) => (includeInputDir ? dir : dir.replace(directoryNormalized, "")))
|
||||
.sort()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -353,6 +353,7 @@ export class FileSystemSync {
|
||||
.map((dirent) => path.join(dirent.parentPath, dirent.name).replace(/\\/g, "/"))
|
||||
// Optionally remove the input directory from the path.
|
||||
.map((dir) => (includeInputDir ? dir : dir.replace(directoryNormalized, "")))
|
||||
.sort()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user