mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 16:10:43 -05:00
Fixed off by one error in DB load progress writer
This commit is contained in:
parent
49414b8805
commit
84c26a156e
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user