Fix Rubocop offense in CI/CD stage code
This commit is contained in:
parent
4c2a6f0d9c
commit
5ca2005e04
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue