Skip to content

Commit

Permalink
Exclude input box should take precedence over the settings excludes o…
Browse files Browse the repository at this point in the history
…n folderQuery (not taking into new precedence rules, to be implemented later)
  • Loading branch information
roblourens committed Jul 17, 2017
1 parent f7d1155 commit cffadfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/services/search/node/fileSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class FileWalker {
this.folderExcludePatterns = new Map<string, glob.ParsedExpression>();

config.folderQueries.forEach(folderQuery => {
const folderExcludeExpression: glob.IExpression = objects.assign({}, this.config.excludePattern || {}, folderQuery.excludePattern || {});
const folderExcludeExpression: glob.IExpression = objects.assign({}, folderQuery.excludePattern || {}, this.config.excludePattern || {});

// Add excludes for other root folders
config.folderQueries
Expand Down

0 comments on commit cffadfe

Please sign in to comment.