diff --git a/appveyor.yml b/appveyor.yml index 6ce190d2a6..257548a943 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,7 +39,7 @@ build_script: after_build: - ps: >- - if ($env:Defines == "CODEANALYSIS") { + if ($env:Defines -eq "CODEANALYSIS") { $warnings = tail -n 5 result.txt | head -n 1 Add-AppveyorMessage -Message $warnings -Category Information }