Fix wrong path join in queryBuilder.ts

This commit is contained in:
Rob Lourens committed 2017-09-24 23:43:56 -07:00
1 parent 2c192e5b23
commit 2c7d05780f
1 file changed
+1 -1
@@ -226,7 +226,7 @@ export class QueryBuilder {
if (matchingRoots.length) {
return matchingRoots.map(root => {
return relativeSearchPathMatch[2] ?
root.uri.with({ path: paths.normalize(paths.join(root.uri.fsPath, relativeSearchPathMatch[2])) }) :
root.uri.with({ path: paths.normalize(paths.join(root.uri.path, relativeSearchPathMatch[2])) }) :
root.uri;
});
} else {