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
1 changed files with 1 additions and 2 deletions

View File

@ -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)