mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 14:04:49 -05:00
More accurate file count for workspace stats
This commit is contained in:
@@ -77,6 +77,7 @@ export function collectWorkspaceStats(folder: string, filter: string[]): Promise
|
||||
}
|
||||
|
||||
if (token.count > MAX_FILES) {
|
||||
token.count += files.length;
|
||||
token.maxReached = true;
|
||||
return done(results);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user