Skip to content
Snippets Groups Projects
Unverified Commit 95a1c857 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

cleanup: rescue more cask errors.

This will avoid a wider degree of failures.
parent e80008d6
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ module CleanupRefinement
cask = begin
Cask::CaskLoader.load(name)
rescue Cask::CaskUnavailableError
rescue Cask::CaskError
return false
end
......@@ -196,7 +196,7 @@ module Homebrew
cask = begin
Cask::CaskLoader.load(arg)
rescue Cask::CaskUnavailableError
rescue Cask::CaskError
nil
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment