aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/hbc/cask_loader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/compat/hbc/cask_loader.rb')
-rw-r--r--Library/Homebrew/compat/hbc/cask_loader.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/hbc/cask_loader.rb b/Library/Homebrew/compat/hbc/cask_loader.rb
index e6cb65b4f..e57aea71d 100644
--- a/Library/Homebrew/compat/hbc/cask_loader.rb
+++ b/Library/Homebrew/compat/hbc/cask_loader.rb
@@ -1,13 +1,13 @@
module CaskLoaderCompatibilityLayer
private
- def cask(header_token, &block)
+ def cask(header_token, **options, &block)
if header_token.is_a?(Hash) && header_token.key?(:v1)
odeprecated %q("cask :v1 => 'token'"), %q("cask 'token'")
header_token = header_token[:v1]
end
- super(header_token, &block)
+ super(header_token, **options, &block)
end
end