From 84c26a156e1112a6910e134ca28bb90d6c05c460 Mon Sep 17 00:00:00 2001 From: Chomp Date: Mon, 23 Dec 2024 15:16:23 +0000 Subject: [PATCH] Fixed off by one error in DB load progress writer --- project/src/utils/ImporterUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/utils/ImporterUtil.ts b/project/src/utils/ImporterUtil.ts index d9caa2d8..4329bef9 100644 --- a/project/src/utils/ImporterUtil.ts +++ b/project/src/utils/ImporterUtil.ts @@ -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();