From 673843c5ea459399d4347d69cff1327b4d892995 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Thu, 28 Jul 2022 09:19:57 +0200 Subject: [PATCH] fix: extract two times for custom urls --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 31fb23c..207e273 100644 --- a/dist/index.js +++ b/dist/index.js @@ -23,7 +23,7 @@ const main = async () => { if ((release === null || release === void 0 ? void 0 : release.message) === 'Not Found') return exit('Invalid bun version.', miscTestBuilds); info(`Going to install release ${release.version}`); - await install(release, token, customDownloadUrl === null); + await install(release, token, customDownloadUrl !== null); setOutput('bun-version', release.tag_name); } catch (e) {