fix: extract two times for custom urls

This commit is contained in:
xHyroM 2022-07-28 09:19:57 +02:00
parent 38a9038faf
commit 673843c5ea

2
dist/index.js vendored
View File

@ -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) {