Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Safonkin committed Feb 4, 2021
1 parent 92451e3 commit ac1bacc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
2 changes: 1 addition & 1 deletion __tests__/verify-dotnet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Write-Host "Found '$dotnet'"

$version = & $dotnet --version | Out-String | ForEach-Object { $_.Trim() }
Write-Host "Version $version"
if (-not ($version.StartsWith($args[0])))
if (-not ($version.StartsWith($args[0].ToString()))
{
Write-Host "PATH='$env:PATH'"
throw "Unexpected version"
Expand Down
39 changes: 0 additions & 39 deletions __tests__/verify-dotnet.sh

This file was deleted.

0 comments on commit ac1bacc

Please sign in to comment.