fix: fix llvm 8 on ubuntu

This commit is contained in:
Amin Yahyaabadi 2021-09-14 07:40:23 -05:00
parent 46cc30329b
commit 3ee98813ad
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ function getLinuxUrl(versionGiven: string): string {
// ubuntu-version is specified // ubuntu-version is specified
if (version.includes("ubuntu")) { if (version.includes("ubuntu")) {
ubuntu = version ubuntu = version
} else if (version !== "") { } else if (version !== "" && version in UBUNTU) {
ubuntu = UBUNTU[version] ubuntu = UBUNTU[version]
} else { } else {
// default to the maximum vresion // default to the maximum vresion