提交 660d6b82 编写于 作者: J Jackson Kearl

Use unix style paths in includes always

上级 4a338fd0
...@@ -222,7 +222,7 @@ export class QueryBuilder { ...@@ -222,7 +222,7 @@ export class QueryBuilder {
} }
const relPath = path.relative(searchRoot.fsPath, file.fsPath); const relPath = path.relative(searchRoot.fsPath, file.fsPath);
assertIsDefined(folderQuery.includePattern)[relPath] = true; assertIsDefined(folderQuery.includePattern)[relPath.replace(/\\/g, '/')] = true;
} else { } else {
if (file.fsPath) { if (file.fsPath) {
includePattern[file.fsPath] = true; includePattern[file.fsPath] = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册