diff options
author | James McCoy <jamessan@jamessan.com> | 2021-10-31 14:09:10 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-10-31 14:09:10 -0400 |
commit | 7126315935a84c6f5894ae00e50386414b422212 (patch) | |
tree | 39bb7164a453bb9db1286c55190b67986430ebd0 | |
parent | 478748881f535ba54178622f2d9789e131641ac2 (diff) | |
download | rneovim-7126315935a84c6f5894ae00e50386414b422212.tar.gz rneovim-7126315935a84c6f5894ae00e50386414b422212.tar.bz2 rneovim-7126315935a84c6f5894ae00e50386414b422212.zip |
fix(ci): use correct check for path-existence
-rw-r--r-- | ci/build.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1 index 66a6e532ed..a81d351bc6 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -171,7 +171,7 @@ if (-not $NoTests) { } # Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's -if (Get-Item -Path $env:ChocolateyInstall\bin\cpack.exe) { +if (Test-Path -Path $env:ChocolateyInstall\bin\cpack.exe) { Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force } |