refactor: rename java.install to java.download

This commit is contained in:
HerozDotExe 2025-10-05 21:51:04 +02:00
parent b6b5da3981
commit b767e9e08b
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ async function exists(path: string) {
}
test("install java-runtime-beta for linux correctly", {timeout: 10000}, async () => {
await nlk.core.java.install("linux", "java-runtime-beta", javaPath);
await nlk.core.java.download("linux", "java-runtime-beta", javaPath);
expect(
await fs.readFile(path.join(javaPath, "release"), { encoding: "utf-8" }),