Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
190ca0529d
commit
23a669817e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue