mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-01-19 03:43:02 +08:00
parent
2ada328403
commit
a20b6434b3
2
dist/main/index.js
generated
vendored
2
dist/main/index.js
generated
vendored
@ -74738,7 +74738,7 @@ function setUpGraalVMDevBuild(gdsToken, javaVersion) {
|
|||||||
return utils_1.downloadAndExtractJDK(asset.browser_download_url);
|
return utils_1.downloadAndExtractJDK(asset.browser_download_url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new Error('Could not find GraalVM dev build');
|
throw new Error(`Could not find GraalVM dev build for Java ${javaVersion}. It may no longer be available, so please consider upgrading the Java version. If you think this is a mistake, please file an issue at: https://github.com/graalvm/setup-graalvm/issues.`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.setUpGraalVMDevBuild = setUpGraalVMDevBuild;
|
exports.setUpGraalVMDevBuild = setUpGraalVMDevBuild;
|
||||||
|
@ -52,7 +52,9 @@ export async function setUpGraalVMDevBuild(
|
|||||||
return downloadAndExtractJDK(asset.browser_download_url)
|
return downloadAndExtractJDK(asset.browser_download_url)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new Error('Could not find GraalVM dev build')
|
throw new Error(
|
||||||
|
`Could not find GraalVM dev build for Java ${javaVersion}. It may no longer be available, so please consider upgrading the Java version. If you think this is a mistake, please file an issue at: https://github.com/graalvm/setup-graalvm/issues.`
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function setUpGraalVMRelease(
|
export async function setUpGraalVMRelease(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user