We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2bf72 commit d9833c4Copy full SHA for d9833c4
build.psm1
@@ -386,6 +386,7 @@ function Test-SuitableDotnet {
386
$availableVersions = $( Get-InstalledCliVersion),
387
$requiredVersion = $( Get-GlobalJsonSdkVersion )
388
)
389
+
390
if ( $requiredVersion -is [String] -or $requiredVersion -is [Version] ) {
391
$requiredVersion = ConvertTo-PortableVersion "$requiredVersion"
392
}
@@ -406,7 +407,7 @@ function Test-SuitableDotnet {
406
407
408
$requiredPatch = $requiredVersion.Patch
409
$possiblePatch = $version.Patch
- if ( $requiredPatch -gt $possiblePath ) {
410
+ if ( $requiredPatch -gt $possiblePatch ) {
411
continue
412
413
if ( ($requiredPatch - $possiblePatch) -ge 100 ) {
0 commit comments