Skip to content

Commit 45b0afb

Browse files
committed
Exclude not applied
Fixes microsoft#226714
1 parent 0e542f3 commit 45b0afb

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)