mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 11:31:07 +07:00
Apply suggestions from code review
This commit is contained in:
parent
9e79640565
commit
43ef2eefe7
@ -120,11 +120,11 @@ function getVersionFromGlobalJson(globalJsonPath: string): string {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'latestMinor':
|
case 'latestMinor':
|
||||||
version = `${major}`;
|
version = `${major}.x`;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'latestFeature':
|
case 'latestFeature':
|
||||||
version = `${major}.${minor}`;
|
version = `${major}.${minor}.x`;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'latestPatch':
|
case 'latestPatch':
|
||||||
|
Loading…
Reference in New Issue
Block a user