Added support for Microsoft and OpenLogic

This commit is contained in:
Gerrit Grunwald 2021-04-23 12:12:30 +02:00
commit 3fb973f2fc
2 changed files with 3 additions and 1 deletions

View file

@ -25,8 +25,10 @@ export const DISTROS: string[] = [
'corretto',
'dragonwell',
'liberica',
'microsoft',
'ojdk_build',
'oracle_openjdk',
'open_logic',
'sap_machine',
'trava',
'zulu'

View file

@ -213,7 +213,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_openjdk | sap_machine | trava | zulu]`
`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | microsoft | ojdk_build | open_logic | oracle_openjdk | sap_machine | trava | zulu]`
);
}
} else {