Debug
This commit is contained in:
parent
831e0d4070
commit
993f819e3d
|
@ -8,7 +8,7 @@ Write-Host "Found '$dotnet'"
|
|||
|
||||
$version = & $dotnet --version | Out-String | ForEach-Object { $_.Trim() }
|
||||
Write-Host "Version $version"
|
||||
if ($version -ne $args[0])
|
||||
if ($version -contains $args[0])
|
||||
{
|
||||
Write-Host "PATH='$env:path'"
|
||||
throw "Unexpected version"
|
||||
|
|
Loading…
Reference in New Issue