From 5d1a72cb19a61884353d2bfd145cfe93814c2bd5 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Thu, 4 Feb 2021 12:39:11 +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 eb4dac0..d6300e9 100755 --- a/__tests__/verify-dotnet.ps1 +++ b/__tests__/verify-dotnet.ps1 @@ -21,7 +21,7 @@ if ($args[1]) Write-Host "Installed versions: $versions" $isInstalledVersion = $false foreach ($version in $versions) { - if ($version.StartsWith($args[1])) { + if ($version.StartsWith($args[1].ToString())) { $isInstalledVersion = $true break }