This commit is contained in:
IvanZosimov 2023-04-11 13:23:50 +02:00
parent 0318091611
commit 12f70884d7
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: 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'];
});

View File

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