0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 13:30:44 -05:00

Fixed off by one error in DB load progress writer

This commit is contained in:
Chomp 2024-12-23 15:16:23 +00:00
parent 49414b8805
commit 84c26a156e

View File

@ -120,7 +120,7 @@ export class ImporterUtil {
directoriesToRead.enqueueAll(this.vfs.getDirs(directory).map((d) => `${directory}/${d}`));
}
const progressWriter = new ProgressWriter(filesToProcess.length);
const progressWriter = new ProgressWriter(filesToProcess.length - 1);
while (filesToProcess.length !== 0) {
const fileNode = filesToProcess.dequeue();