Merge pull request #17211 from Homebrew/fix_missing_test_resource

formula: fix missing test resources.
This commit is contained in:
Mike McQuaid 2024-05-03 08:42:22 +01:00 committed by GitHub
commit a9cdb335b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -553,9 +553,7 @@ class Formula
# ```ruby # ```ruby
# resource("additional_files").stage { bin.install "my/extra/tool" } # resource("additional_files").stage { bin.install "my/extra/tool" }
# ``` # ```
def resource(name) delegate resource: :active_spec
active_spec.resource(name)
end
# An old name for the formula. # An old name for the formula.
sig { returns(T.nilable(String)) } sig { returns(T.nilable(String)) }