More tests and more fixes

This commit is contained in:
litetex
2020-04-04 19:34:45 +02:00
parent 5411b6342a
commit ebefd7bccb
2 changed files with 9 additions and 2 deletions

View File

@ -285,8 +285,7 @@ export class DotnetCoreInstaller {
// Exclude versions that are newer than the latest if using not exact
if(!versionInfo.isExactVersion()) {
let latestSdk : string = releasesResponse['latest-sdk'];
let latestSdk : string = releasesResult['latest-sdk'];
releasesInfo = releasesInfo.filter((releaseInfo: any) => semver.lte(releaseInfo['sdk']['version'], latestSdk));
}