Skip to content

Commit a96e22d

Browse files
author
Rachel Macfarlane
committed
More accurate file count for workspace stats
1 parent bdffaf3 commit a96e22d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vs/platform/diagnostics/node/diagnosticsService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export function collectWorkspaceStats(folder: string, filter: string[]): Promise
7777
}
7878

7979
if (token.count > MAX_FILES) {
80+
token.count += files.length;
8081
token.maxReached = true;
8182
return done(results);
8283
}

0 commit comments

Comments
 (0)