From f4159a6d20a37dca0d7fd824b37f57b0df1a2c42 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Thu, 4 Feb 2021 12:22:20 +0300 Subject: [PATCH] Debug --- __tests__/verify-dotnet.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/verify-dotnet.ps1 b/__tests__/verify-dotnet.ps1 index 27e39a0..9193ce1 100755 --- a/__tests__/verify-dotnet.ps1 +++ b/__tests__/verify-dotnet.ps1 @@ -19,7 +19,7 @@ if ($args[1]) # SDKs are listed on multiple lines with the path afterwards in square brackets $versions = & $dotnet --list-sdks | ForEach-Object { $_.SubString(0, $_.IndexOf('[')).Trim() } | Out-String Write-Host "Version $versions" - if ($version -notmatch $args[1]) + if ($versions -notmatch $args[1]) { Write-Host "PATH='$env:PATH'" throw "Unexpected version"