Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2020-01-05 15:07:58 +00:00
parent 190ca0529d
commit 23a669817e

View file

@ -35,8 +35,7 @@ ALLOWED_WARNINGS = [
def warning_count(static_analysis) def warning_count(static_analysis)
static_analysis.warned_results static_analysis.warned_results
.reject { |result| ALLOWED_WARNINGS.include?(result.stderr.strip) } .count { |result| !ALLOWED_WARNINGS.include?(result.stderr.strip) }
.count
end end
def jobs_to_run(node_index, node_total) def jobs_to_run(node_index, node_total)