Use unix style paths in includes always
This commit is contained in:
parent
4a338fd0d4
commit
660d6b82f8
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ export class QueryBuilder {
|
|||
}
|
||||
|
||||
const relPath = path.relative(searchRoot.fsPath, file.fsPath);
|
||||
assertIsDefined(folderQuery.includePattern)[relPath] = true;
|
||||
assertIsDefined(folderQuery.includePattern)[relPath.replace(/\\/g, '/')] = true;
|
||||
} else {
|
||||
if (file.fsPath) {
|
||||
includePattern[file.fsPath] = true;
|
||||
|
|
Loading…
Reference in a new issue