diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 8a44bae259ae53..c6a6a32669e4af 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1266,7 +1266,7 @@ def downloader formula.bottle else formula.resource - end + end.downloader end sig { void } diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index 81a9b192ee28ce..75ab4b89a06406 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -408,9 +408,7 @@ def skip_relocation? @spec.skip_relocation?(tag: @tag) end - def stage - resource.downloader.stage - end + def stage = resource.downloader.stage def fetch_tab(timeout: nil, quiet: false) return unless (resource = github_packages_manifest_resource)