mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-24 00:05:46 +01:00
Exclude input box should take precedence over the settings excludes on folderQuery (not taking into new precedence rules, to be implemented later)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user