diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index bf570f6c1e..f0c46d1f28 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -3205,11 +3205,11 @@ class Formula patchlist.select(&:external?).each(&:fetch) end - sig { void } - def fetch_bottle_tab + sig { params(quiet: T::Boolean).void } + def fetch_bottle_tab(quiet: false) return unless bottled? - T.must(bottle).fetch_tab + T.must(bottle).fetch_tab(quiet: quiet) end sig { returns(T::Hash[String, T.untyped]) } diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 56d9094ac2..3cb2518c89 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1355,12 +1355,12 @@ on_request: installed_on_request?, options:) end end - sig { void } - def fetch_bottle_tab + sig { params(quiet: T::Boolean).void } + def fetch_bottle_tab(quiet: false) return if @fetch_bottle_tab begin - formula.fetch_bottle_tab + formula.fetch_bottle_tab(quiet: quiet) @bottle_tab_runtime_dependencies = formula.bottle_tab_attributes .fetch("runtime_dependencies", []).then { |deps| deps || [] } .each_with_object({}) { |dep, h| h[dep["full_name"]] = dep }