Commit 5ca2005e authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix Rubocop offense in CI/CD stage code

parent 4c2a6f0d
...@@ -46,7 +46,7 @@ module Ci ...@@ -46,7 +46,7 @@ module Ci
end end
def has_warnings? def has_warnings?
if @warnings.is_a?(Fixnum) if @warnings.is_a?(Integer)
@warnings > 0 @warnings > 0
else else
statuses.latest.failed_but_allowed.any? statuses.latest.failed_but_allowed.any?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment