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
end
def has_warnings?
if @warnings.is_a?(Fixnum)
if @warnings.is_a?(Integer)
@warnings > 0
else
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