Skip to content

Commit

Permalink
Fix default search exclusions string
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Mar 16, 2018
1 parent 3fb65e7 commit 234d100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/parts/search/browser/searchView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class SearchView extends Viewlet implements IViewlet, IPanel {
this.createSearchWidget(this.searchWidgetsContainer);

const filePatterns = this.viewletSettings['query.filePatterns'] || '';
const patternExclusions = this.viewletSettings['query.folderExclusions'] || 'foo, bar/**/*.js';
const patternExclusions = this.viewletSettings['query.folderExclusions'] || '';
delete this.viewletSettings['query.folderExclusions']; // Migrating from versions that have dedicated exclusions persisted
const patternIncludes = this.viewletSettings['query.folderIncludes'] || '';
const patternIncludesHistory = this.viewletSettings['query.folderIncludesHistory'] || [];
Expand Down

0 comments on commit 234d100

Please sign in to comment.