Remove delegation of ReporterHub#empty?
This commit is contained in:
parent
93f8627a58
commit
6bc94abadc
@ -598,8 +598,6 @@ class Reporter
|
|||||||
end
|
end
|
||||||
|
|
||||||
class ReporterHub
|
class ReporterHub
|
||||||
extend Forwardable
|
|
||||||
|
|
||||||
attr_reader :reporters
|
attr_reader :reporters
|
||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
@ -618,7 +616,9 @@ class ReporterHub
|
|||||||
@hash.update(report) { |_key, oldval, newval| oldval.concat(newval) }
|
@hash.update(report) { |_key, oldval, newval| oldval.concat(newval) }
|
||||||
end
|
end
|
||||||
|
|
||||||
delegate empty?: :@hash
|
def empty?
|
||||||
|
@hash.empty?
|
||||||
|
end
|
||||||
|
|
||||||
def dump(auto_update: false)
|
def dump(auto_update: false)
|
||||||
report_all = ENV["HOMEBREW_UPDATE_REPORT_ALL_FORMULAE"].present?
|
report_all = ENV["HOMEBREW_UPDATE_REPORT_ALL_FORMULAE"].present?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user