mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 19:41:08 +07:00
Fix typo
This commit is contained in:
parent
0318091611
commit
12f70884d7
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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'];
|
||||
});
|
||||
|
@ -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}`
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user