Added trava distro

This commit is contained in:
Gerrit Grunwald 2021-03-15 13:25:15 +01:00
commit b101cc1ed2
4 changed files with 5 additions and 2 deletions

View file

@ -28,5 +28,6 @@ export const DISTROS: string[] = [
'ojdk_build',
'oracle_openjdk',
'sap_machine',
'trava',
'zulu'
];

View file

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