Merge pull request #2356 from shigma/fix-progress

fix: fix 100% indexing progress
This commit is contained in:
Patrick Erichsen 2024-09-23 11:51:24 -07:00 • committed by GitHub
commit 840462927e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -140,7 +140,7 @@ export class Core {
// Respect pauseCodebaseIndexOnStart user settings
if (ideSettings.pauseCodebaseIndexOnStart) {
await this.messenger.request("indexProgress", {
progress: 100,
progress: 1,
desc: "Initial Indexing Skipped",
status: "paused",
});

View file

@ -249,10 +249,11 @@ export class CodebaseIndexer {
}
}
yield {
progress: 100,
progress: 1,
desc: "Indexing Complete",
status: "done",
};
this.logProgress(beginTime, 0, 1);
}
private handleErrorAndGetProgressUpdate(