From 3ee98813adc1b30c6505a3cbe0639762e3de6e1e Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 14 Sep 2021 07:40:23 -0500 Subject: [PATCH] fix: fix llvm 8 on ubuntu --- src/llvm/llvm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llvm/llvm.ts b/src/llvm/llvm.ts index 70203e1b..b193cf00 100644 --- a/src/llvm/llvm.ts +++ b/src/llvm/llvm.ts @@ -181,7 +181,7 @@ function getLinuxUrl(versionGiven: string): string { // ubuntu-version is specified if (version.includes("ubuntu")) { ubuntu = version - } else if (version !== "") { + } else if (version !== "" && version in UBUNTU) { ubuntu = UBUNTU[version] } else { // default to the maximum vresion