Skip to content

Commit

Permalink
Fix wrong argument passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus authored Sep 5, 2024
1 parent 846cf25 commit a970065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def resource(name = T.unsafe(nil), klass = T.unsafe(nil), &block)
if klass.nil?
active_spec.resource(*name, &block)
else
active_spec.resource(name, klass)
active_spec.resource(name, klass, &block)
end
end

Expand Down

0 comments on commit a970065

Please sign in to comment.