Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
190ca0529d
commit
23a669817e
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue