From 02522e5e9d735c1abb873b118950e8c53bf5ac50 Mon Sep 17 00:00:00 2001 From: Gerrit Grunwald Date: Fri, 12 Mar 2021 10:48:17 +0100 Subject: [PATCH] changed oracle_open_jdk to oracle_openjdk --- src/constants.ts | 2 +- src/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 2d632e6b..f77d2b06 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -26,7 +26,7 @@ export const DISTROS: string[] = [ 'dragonwell', 'liberica', 'ojdk_build', - 'oracle_open_jdk', + 'oracle_openjdk', 'sap_machine', 'zulu' ]; diff --git a/src/installer.ts b/src/installer.ts index f0e1d916..1d020b1c 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -216,7 +216,7 @@ async function getDownloadInfo( distribution = distro.toLowerCase(); } else { throw new Error( - `distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_open_jdk | sap_machine | zulu]` + `distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | zulu]` ); } } else {