This commit is contained in:
IvanZosimov 2023-04-11 13:44:35 +02:00
parent 12f70884d7
commit aa34a3ceaa
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -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'];
});

View File

@ -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}`
);
}