Skip to content

Commit

Permalink
Fix #46628 - wrong "no results found" message
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Mar 27, 2018
1 parent 9651143 commit 0bd949c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/parts/search/browser/searchView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1108,8 +1108,8 @@ export class SearchView extends Viewlet implements IViewlet, IPanel {
}

if (!hasResults) {
let hasExcludes = !!query.excludePattern;
let hasIncludes = !!query.includePattern;
const hasExcludes = !!excludePatternText;
const hasIncludes = !!includePatternText;
let message: string;

if (!completed) {
Expand Down

0 comments on commit 0bd949c

Please sign in to comment.