Merge pull request #6605 from reitermarkus/missing-command-method

Fix missing `command` method.
This commit is contained in:
Markus Reiter 2019-10-15 18:05:22 +02:00 committed by GitHub
commit d24f3c3b99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,7 @@ module Cask
@args = args @args = args
end end
def run(*_args) def run(*)
purpose purpose
usage usage
@ -226,7 +226,7 @@ module Cask
raise ArgumentError, "help does not take arguments." if @args.length raise ArgumentError, "help does not take arguments." if @args.length
end end
raise ArgumentError, "Unknown Cask command: #{command}" raise ArgumentError, "Unknown Cask command: #{@command}"
end end
def purpose def purpose