brew style --fix
This commit is contained in:
parent
40f286fc42
commit
e95ce6967a
@ -9,10 +9,7 @@ module Cask
|
||||
# @api private
|
||||
class ArtifactSet < ::Set
|
||||
def each(&block)
|
||||
# TODO: This is a false positive: https://github.com/rubocop/rubocop/issues/11591
|
||||
# rubocop:disable Lint/ToEnumArguments
|
||||
return enum_for(T.must(__method__)) { size } unless block
|
||||
# rubocop:enable Lint/ToEnumArguments
|
||||
|
||||
to_a.each(&block)
|
||||
self
|
||||
|
||||
@ -118,5 +118,5 @@ module Tty
|
||||
|
||||
@stream.tty?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user