提交 2bf7fbfc 编写于 作者: R Rob Lourens

Fix #25422 - also search external files

上级 b320bd0d
......@@ -225,7 +225,7 @@ export class RipgrepParser extends EventEmitter {
this.onResult();
}
this.fileMatch = new FileMatch(path.join(this.rootFolder, r[1]));
this.fileMatch = new FileMatch(path.resolve(this.rootFolder, r[1]));
} else {
// Line is empty (or malformed)
}
......@@ -461,6 +461,8 @@ function getRgArgs(config: IRawSearch): { args: string[], siblingClauses: glob.I
args.push('./');
}
args.push(...config.extraFiles);
return { args, siblingClauses };
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册