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 {