From 243a3ba2d0ea3cfa6aa1aa126a7eecf39dd76596 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 25 Oct 2018 22:47:52 +0200 Subject: [PATCH] appveyor: fix logic in Get-SaveCache --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index a2838f3b2d..2bec8a0427 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: