summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.appveyor.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index a2838f3b2..2bec8a042 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -210,7 +210,7 @@ environment:
# Get-SaveCache returns $true if the cache will be saved at the end.
function Get-SaveCache {
-not $env:APPVEYOR_PULL_REQUEST_NUMBER -and
- -not $env:APPVEYOR_CACHE_SKIP_SAVE -eq "true"
+ -not ($env:APPVEYOR_CACHE_SKIP_SAVE -eq "true")
}
for: