changed oracle_open_jdk to oracle_openjdk

This commit is contained in:
Gerrit Grunwald 2021-03-12 10:48:17 +01:00
parent ef705735f7
commit 02522e5e9d
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ export const DISTROS: string[] = [
'dragonwell', 'dragonwell',
'liberica', 'liberica',
'ojdk_build', 'ojdk_build',
'oracle_open_jdk', 'oracle_openjdk',
'sap_machine', 'sap_machine',
'zulu' 'zulu'
]; ];

View file

@ -216,7 +216,7 @@ async function getDownloadInfo(
distribution = distro.toLowerCase(); distribution = distro.toLowerCase();
} else { } else {
throw new Error( 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 { } else {