From 5536432c4f3ff8c943077106a1104110202d2123 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 15 Feb 2019 19:46:32 +0100 Subject: [PATCH] Allow editing broken casks. --- Library/Homebrew/cask/cmd/edit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/cmd/edit.rb b/Library/Homebrew/cask/cmd/edit.rb index bccdc27547..549f889552 100644 --- a/Library/Homebrew/cask/cmd/edit.rb +++ b/Library/Homebrew/cask/cmd/edit.rb @@ -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?