From c8997a0d8b49bdcfc86ec06cf931916c6ce58dd7 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 8 Apr 2021 00:09:10 +0200 Subject: [PATCH] Don't forward options if none are given. --- Library/Homebrew/cask/url.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/url.rb b/Library/Homebrew/cask/url.rb index 3d39fbfb7a..d88e8dbc8c 100644 --- a/Library/Homebrew/cask/url.rb +++ b/Library/Homebrew/cask/url.rb @@ -128,9 +128,9 @@ class URL < Delegator private :url # @api public - def method_missing(method, *args, **options, &block) + def method_missing(method, *args, &block) if @dsl.respond_to?(method) - T.unsafe(@dsl).public_send(method, *args, **options, &block) + T.unsafe(@dsl).public_send(method, *args, &block) else super end