Skip to content

Commit

Permalink
Merge pull request #17211 from Homebrew/fix_missing_test_resource
Browse files Browse the repository at this point in the history
formula: fix missing test resources.
  • Loading branch information
MikeMcQuaid authored May 3, 2024
2 parents 777135a + 9da18b6 commit a9cdb33
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 a9cdb33

Please sign in to comment.