mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
fix(ci): use correct check for path-existence
This commit is contained in:
@@ -171,7 +171,7 @@ if (-not $NoTests) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's
|
# 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
|
Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user