diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-05 15:07:58 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-05 15:07:58 +0000 |
commit | 23a669817e28092b22994338f22a1e4b3823424d (patch) | |
tree | 02ca39ca872eb55b98659fc6e7f27bf9fbc45eb5 /scripts | |
parent | 190ca0529dd0edef1d881e09d5352f83426b01d3 (diff) | |
download | gitlab-ce-23a669817e28092b22994338f22a1e4b3823424d.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/static-analysis | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/static-analysis b/scripts/static-analysis index c26c9a55bb1..d2d82c19bed 100755 --- a/scripts/static-analysis +++ b/scripts/static-analysis @@ -35,8 +35,7 @@ ALLOWED_WARNINGS = [ def warning_count(static_analysis) static_analysis.warned_results - .reject { |result| ALLOWED_WARNINGS.include?(result.stderr.strip) } - .count + .count { |result| !ALLOWED_WARNINGS.include?(result.stderr.strip) } end def jobs_to_run(node_index, node_total) |