Skip to content

Commit 52daded

Browse files
committed
Fix findExecutable
Part of microsoft#101073
1 parent b23ce2d commit 52daded

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/node/processes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export namespace win32 {
457457

458458
async function fileExists(path: string): Promise<boolean> {
459459
if (await promisify(fs.exists)(path)) {
460-
return !((await promisify(fs.stat)(path)).isDirectory);
460+
return !((await promisify(fs.stat)(path)).isDirectory());
461461
}
462462
return false;
463463
}

0 commit comments

Comments
 (0)