Fix wrong argument passing.

This commit is contained in:
Markus Reiter 2024-09-05 17:20:20 +02:00 committed by GitHub
parent 846cf25043
commit a970065657
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -571,7 +571,7 @@ class Formula
if klass.nil?
active_spec.resource(*name, &block)
else
active_spec.resource(name, klass)
active_spec.resource(name, klass, &block)
end
end