This commit is contained in:
Vladimir Safonkin 2021-02-04 12:39:11 +03:00
parent 8889c6748f
commit 5d1a72cb19
1 changed files with 1 additions and 1 deletions

View File

@ -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
}