Update unit tests

This commit is contained in:
IvanZosimov
2023-04-12 16:44:51 +02:00
parent 34c30d0e81
commit 7358a44590
3 changed files with 7 additions and 5 deletions

3
dist/index.js vendored
View File

@ -290,9 +290,10 @@ class DotnetVersionResolver {
this.resolvedArgument.value = yield this.getLatestByMajorTag(major);
}
else {
// Resolve LTS version of .NET if "dotnet-version" is specified as *, x or X
this.resolvedArgument.value = 'LTS';
}
this.resolvedArgument.qualityFlag = +major >= 6 ? true : false;
this.resolvedArgument.qualityFlag = parseInt(major) >= 6 ? true : false;
});
}
createDotNetVersion() {