diff --git a/dist/index.js b/dist/index.js index 68114af..a71c738 100644 --- a/dist/index.js +++ b/dist/index.js @@ -380,7 +380,6 @@ class DotnetCoreInstaller { getReleasesJsonUrl(httpClient, versionParts) { return __awaiter(this, void 0, void 0, function* () { const response = yield httpClient.getJson(DotNetCoreIndexUrl); - const result = response.result || {}; let releasesInfo = result['releases-index']; releasesInfo = releasesInfo.filter((info) => { diff --git a/src/installer.ts b/src/installer.ts index 471cfe9..d0a7f5e 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -263,7 +263,6 @@ export class DotnetCoreInstaller { versionParts: string[] ): Promise { const response = await httpClient.getJson(DotNetCoreIndexUrl); - const result = response.result || {}; let releasesInfo: any[] = result['releases-index'];