aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-10-31 15:11:21 -0400
committerGitHub <noreply@github.com>2021-10-31 15:11:21 -0400
commit0c1585bc634d67a8d9247c26924cbf8534d0462b (patch)
tree545a41b561717f9923ba7f1fac988ca8db39e9d9
parent98f578293b58b66e2314f5cd0f61c3d2d0ba90e2 (diff)
parent7126315935a84c6f5894ae00e50386414b422212 (diff)
downloadrneovim-0c1585bc634d67a8d9247c26924cbf8534d0462b.tar.gz
rneovim-0c1585bc634d67a8d9247c26924cbf8534d0462b.tar.bz2
rneovim-0c1585bc634d67a8d9247c26924cbf8534d0462b.zip
Merge pull request #16195 from jamessan/really-fix-win-ci
fix(ci): use correct check for path-existence
-rw-r--r--ci/build.ps12
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
}