From aa34a3ceaa698ef02004c91a4fc3bca128678557 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Tue, 11 Apr 2023 13:44:35 +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 0515933..bc00897 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: ${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 2fad685..22fa100 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: ${majorTag} at ${DotnetVersionResolver.DotNetCoreIndexUrl}` + `Could not find info for version with major tag: "${majorTag}" at ${DotnetVersionResolver.DotNetCoreIndexUrl}` ); }