refactor: remove unnecesary loging, decrease retries

This commit is contained in:
Jozef Steinhübl 2024-04-03 13:59:30 +02:00
parent 70e072279f
commit 27da3459ca

View file

@ -88,8 +88,7 @@ export default async (options: Input): Promise<Output> => {
if (!cacheHit) {
info(`Downloading a new version of Bun: ${url}`);
// TODO: remove this, temporary fix for https://github.com/oven-sh/setup-bun/issues/73
revision = await retry(async () => await downloadBun(url, bunPath), 5);
console.log("Downloaded Bun revision: " + revision);
revision = await retry(async () => await downloadBun(url, bunPath), 3);
}
if (!revision) {