From 09ce5821b4ee71a4339ed454178d5e56b162e351 Mon Sep 17 00:00:00 2001 From: Zachary Taylor Date: Thu, 2 Jan 2025 01:51:42 +0000 Subject: [PATCH] remove fallback in index.js --- dist/setup/index.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 2709645..850efce 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -71264,13 +71264,8 @@ class DotnetVersionResolver { allowRetries: true, maxRetries: 3 }); - let response; - try { - response = yield httpClient.getJson(DotnetVersionResolver.DotNetCoreIndexUrl); - } - catch (error) { - response = yield httpClient.getJson(DotnetVersionResolver.DotnetCoreIndexFallbackUrl); - } + + const response = yield httpClient.getJson(DotnetVersionResolver.DotNetCoreIndexUrl); const result = response.result || {}; const releasesInfo = result['releases-index']; const releaseInfo = releasesInfo.find(info => {