Skip to content

Commit

Permalink
Fix findExecutable
Browse files Browse the repository at this point in the history
Part of #101073
  • Loading branch information
alexr00 committed Jul 14, 2020
1 parent b23ce2d commit 52daded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/base/node/processes.ts
Expand Up @@ -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;
}
Expand Down

0 comments on commit 52daded

Please sign in to comment.