Merge pull request #17211 from Homebrew/fix_missing_test_resource
formula: fix missing test resources.
This commit is contained in:
commit
a9cdb335b5
@ -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)) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user