CaskAlreadyInstalledError exits with 0
This commit is contained in:
parent
c1271f362d
commit
cb11080468
|
@ -33,6 +33,10 @@ class Cask::CLI
|
|||
rest = process_options(rest)
|
||||
Cask.init
|
||||
lookup_command(command).run(*rest)
|
||||
rescue CaskAlreadyInstalledError => e
|
||||
opoo e
|
||||
$stderr.puts e.backtrace if @debug
|
||||
exit 0
|
||||
rescue CaskError => e
|
||||
onoe e
|
||||
$stderr.puts e.backtrace if @debug
|
||||
|
|
Loading…
Reference in New Issue