From a97006565743378ffe3411f8ee34492eb190d6c9 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 5 Sep 2024 17:20:20 +0200 Subject: [PATCH] Fix wrong argument passing. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 4ea7596702..b0cd72fcfb 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -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