Fix missing command
method.
This commit is contained in:
parent
f762033a57
commit
40a0b8b10a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user