summaryrefslogtreecommitdiff
path: root/scripts/static-analysis
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-01-24 21:05:01 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-01-26 19:42:48 +0800
commita2618310aea7d58e52d2d29ec4871e27717eb0f0 (patch)
tree63c943c0cd428e82955574f578ef55b5c166f1e6 /scripts/static-analysis
parent0bf918f05e827b380107d88f4592d1ceedd632f9 (diff)
downloadgitlab-ce-a2618310aea7d58e52d2d29ec4871e27717eb0f0.tar.gz
Use Process::Status rather than an integer
However keep backward compatibility
Diffstat (limited to 'scripts/static-analysis')
-rwxr-xr-xscripts/static-analysis4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/static-analysis b/scripts/static-analysis
index 8986ad825e1..b3895292ab4 100755
--- a/scripts/static-analysis
+++ b/scripts/static-analysis
@@ -57,9 +57,9 @@ puts '==================================================='
puts
puts
-if static_analysis.all_good?
+if static_analysis.all_success_and_clean?
puts 'All static analyses passed successfully.'
-elsif static_analysis.all_status_zero?
+elsif static_analysis.all_success?
puts 'All static analyses passed successfully, but we have warnings:'
puts