Merge pull request #5745 from reitermarkus/cask-edit
Allow editing broken casks.
This commit is contained in:
commit
713453cc2f
@ -17,7 +17,7 @@ module Cask
|
||||
|
||||
def cask_path
|
||||
casks.first.sourcefile_path
|
||||
rescue CaskInvalidError
|
||||
rescue CaskInvalidError, CaskUnreadableError
|
||||
path = CaskLoader.path(args.first)
|
||||
return path if path.file?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user