Fix other to_json override while we're here

This commit is contained in:
Douglas Eichelberger 2023-07-18 11:30:46 -07:00
parent 33d9dc63b0
commit 368dd4d949

View File

@ -194,12 +194,12 @@ module Cask
end
sig { params(options: T.untyped).returns(String) }
def to_json(**options)
def to_json(*options)
{
default: default,
env: env,
explicit: explicit,
}.to_json(**options)
}.to_json(*options)
end
end
end