Skip to content

Commit

Permalink
formula: fix missing test resources.
Browse files Browse the repository at this point in the history
Revert one change from #17165.

It's unclear to me why this fixes the problem, but it does.

Fixes #17203
  • Loading branch information
MikeMcQuaid committed May 3, 2024
1 parent 777135a commit 9da18b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,7 @@ def synced_with_other_formulae?
# ```ruby
# resource("additional_files").stage { bin.install "my/extra/tool" }
# ```
def resource(name)
active_spec.resource(name)
end
delegate resource: :active_spec

# An old name for the formula.
sig { returns(T.nilable(String)) }
Expand Down

0 comments on commit 9da18b6

Please sign in to comment.