Skip to content

Commit

Permalink
Fix wrong stage method being called.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Sep 4, 2024
1 parent 231ac72 commit 1f57e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ def downloader
formula.bottle
else
formula.resource
end
end.downloader
end

sig { void }
Expand Down
4 changes: 1 addition & 3 deletions Library/Homebrew/software_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1f57e42

Please sign in to comment.