提交 52daded0 编写于 作者: A Alex Ross

Fix findExecutable

Part of #101073
上级 b23ce2d5
......@@ -457,7 +457,7 @@ export namespace win32 {
async function fileExists(path: string): Promise<boolean> {
if (await promisify(fs.exists)(path)) {
return !((await promisify(fs.stat)(path)).isDirectory);
return !((await promisify(fs.stat)(path)).isDirectory());
}
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册