From 12f70884d768a07fbd0e6c3566651161a817b92e Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Tue, 11 Apr 2023 13:23:50 +0200 Subject: [PATCH] Fix typo --- dist/index.js | 2 +- src/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6a33cee..0515933 100644 --- a/dist/index.js +++ b/dist/index.js @@ -308,7 +308,7 @@ class DotnetVersionResolver { return sdkParts[0] === majorTag; }); if (!releaseInfo) { - throw new Error(`Could not find info for version with major tag: v${majorTag} at ${DotnetVersionResolver.DotNetCoreIndexUrl}`); + throw new Error(`Could not find info for version with major tag: ${majorTag} at ${DotnetVersionResolver.DotNetCoreIndexUrl}`); } return releaseInfo['channel-version']; }); diff --git a/src/installer.ts b/src/installer.ts index ec89a79..2fad685 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -87,7 +87,7 @@ export class DotnetVersionResolver { if (!releaseInfo) { throw new Error( - `Could not find info for version with major tag: v${majorTag} at ${DotnetVersionResolver.DotNetCoreIndexUrl}` + `Could not find info for version with major tag: ${majorTag} at ${DotnetVersionResolver.DotNetCoreIndexUrl}` ); }