Skip to content

Commit 6bc6d49

Browse files
authored
Fix buggy progress message. (#4039)
1 parent b7bd343 commit 6bc6d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,7 @@ class DefaultClient implements Client {
18251825
const numTotalToLex: number = this.referencesCurrentProgress.targetReferencesProgress.length;
18261826
const numFinishedLexing: number = numTotalToLex - numWaitingToLex - numLexing;
18271827
const numTotalToParse: number = this.referencesCurrentProgress.targetReferencesProgress.length - numFinishedWithoutConfirming;
1828-
if (numLexing >= numParsing) {
1828+
if (numLexing >= numParsing && numFinishedConfirming === 0) {
18291829
if (numTotalToLex === 0) {
18301830
currentMessage = "Searching files."; // TODO: Prevent this from happening.
18311831
} else {

0 commit comments

Comments
 (0)