summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-10-25 22:47:52 +0200
committerBert Belder <bertbelder@gmail.com>2018-10-25 22:48:08 +0200
commit243a3ba2d0ea3cfa6aa1aa126a7eecf39dd76596 (patch)
treef35524c02a2b5375c60233b9aac8cf6ab90a3135
parent2cfa60832496902089b9d73d3954318aa8a1fe2a (diff)
appveyor: fix logic in Get-SaveCache
-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: