diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-05 15:09:59 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-05 15:09:59 +0000 |
commit | 71da5de44f7e30be58ff1563d3d8de697e0d20c0 (patch) | |
tree | b8bcdf7ef2c92e5da7f6f874ad3dddf00e6ef3ef /lib/gitlab/ci/reports | |
parent | 25bfb256b3bf17e85eda745d1bc193176b7fedf0 (diff) | |
download | gitlab-ce-71da5de44f7e30be58ff1563d3d8de697e0d20c0.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/reports')
-rw-r--r-- | lib/gitlab/ci/reports/accessibility_reports_comparer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/reports/accessibility_reports_comparer.rb b/lib/gitlab/ci/reports/accessibility_reports_comparer.rb index fa6337166d5..210eb17f2d3 100644 --- a/lib/gitlab/ci/reports/accessibility_reports_comparer.rb +++ b/lib/gitlab/ci/reports/accessibility_reports_comparer.rb @@ -17,7 +17,7 @@ module Gitlab end def status - head_reports.errors_count.positive? ? STATUS_FAILED : STATUS_SUCCESS + head_reports.errors_count > 0 ? STATUS_FAILED : STATUS_SUCCESS end def existing_errors |