Skip to content

Commit

Permalink
Fix #63049
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Nov 30, 2018
1 parent b7f8202 commit df47169
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vs/workbench/parts/search/common/queryBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ function patternListToIExpression(patterns: string[]): glob.IExpression {
function splitGlobPattern(pattern: string): string[] {
return glob.splitGlobAware(pattern, ',')
.map(s => s.trim())
.map(s => strings.rtrim(s, '/'))
.map(s => strings.rtrim(s, '\\'))
.filter(s => !!s.length);
}

Expand Down

0 comments on commit df47169

Please sign in to comment.