Skip to content

Commit b3cbbb4

Browse files
authored
Merge pull request microsoft#227014 from microsoft/andreamah/issue226714
Exclude not applied
2 parents 4c38824 + 45b0afb commit b3cbbb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/api/common/extHostWorkspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ export class ExtHostWorkspace implements ExtHostWorkspaceShape, IExtHostWorkspac
584584
}
585585
const parsedInclude = include ? parseSearchExcludeInclude(GlobPattern.from(include)) : undefined;
586586

587-
const excludePatterns = include ? globsToISearchPatternBuilder(options.exclude) : undefined;
587+
const excludePatterns = globsToISearchPatternBuilder(options.exclude);
588588

589589
return {
590590
options: {

0 commit comments

Comments
 (0)