We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59c6e54 commit bcb80b1Copy full SHA for bcb80b1
1 file changed
src/findJavaRuntimes.ts
@@ -244,7 +244,6 @@ export async function verifyJavaHome(raw: string, javaFilename: string): Promise
244
const targetJavaFile = await findLinkedFile(path.resolve(dir, "bin", javaFilename));
245
const proposed = path.dirname(path.dirname(targetJavaFile));
246
if (await fse.pathExists(proposed)
247
- && (await fse.lstat(proposed)).isDirectory()
248
&& await fse.pathExists(path.resolve(proposed, "bin", javaFilename))
249
) {
250
return proposed;
0 commit comments