Use unix style paths in includes always

This commit is contained in:
Jackson Kearl 2021-01-28 09:47:40 -08:00
parent 4a338fd0d4
commit 660d6b82f8

View file

@ -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;