More accurate file count for workspace stats

This commit is contained in:
Rachel Macfarlane
2019-08-21 17:45:51 -07:00
parent bdffaf3a85
commit a96e22dace

View File

@@ -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);
}