Merge pull request #227014 from microsoft/andreamah/issue226714

Exclude not applied
This commit is contained in:
Andrea Mah
2024-08-28 15:03:35 -07:00
committed by GitHub
@@ -584,7 +584,7 @@ export class ExtHostWorkspace implements ExtHostWorkspaceShape, IExtHostWorkspac
}
const parsedInclude = include ? parseSearchExcludeInclude(GlobPattern.from(include)) : undefined;
const excludePatterns = include ? globsToISearchPatternBuilder(options.exclude) : undefined;
const excludePatterns = globsToISearchPatternBuilder(options.exclude);
return {
options: {