mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Don't forward options if none are given.
This commit is contained in:
parent
050ff9913f
commit
c8997a0d8b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user