fix: Erlang16 previous install check
This commit is contained in:
@@ -11,7 +11,7 @@ try {
|
|||||||
Select -First 1
|
Select -First 1
|
||||||
|
|
||||||
# only way to test for installation of this version is by path on disk
|
# only way to test for installation of this version is by path on disk
|
||||||
if (Test-Path $installedPath)
|
if ($installedPath -and (Test-Path $installedPath))
|
||||||
{
|
{
|
||||||
Write-Host "$package $version is already installed to $installedPath"
|
Write-Host "$package $version is already installed to $installedPath"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user