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
# 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)) }