Skip to content

Commit 371c0b1

Browse files
committed
PR feedback
1 parent 0dc01ba commit 371c0b1

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
@@ -2764,7 +2764,7 @@ export class DefaultClient implements Client {
27642764
}
27652765

27662766
const showExcessiveFilesWarning = new PersistentWorkspaceState<boolean>('CPP.showExcessiveFilesWarning', true);
2767-
if (!this.excessiveFilesWarningShown && notificationBody.event === 'ParsingStats' && showExcessiveFilesWarning.Value) {
2767+
if (!this.excessiveFilesWarningShown && showExcessiveFilesWarning.Value && notificationBody.event === 'ParsingStats') {
27682768
const filesDiscovered = notificationBody.metrics?.filesDiscovered ?? 0;
27692769
const parsableFiles = notificationBody.metrics?.parsableFiles ?? 0;
27702770
if (filesDiscovered > 250000 || parsableFiles > 100000) {

0 commit comments

Comments
 (0)