Ignore FormulaOrCaskUnavailableError.

This commit is contained in:
Markus Reiter 2021-03-25 19:34:34 +01:00
parent 507db5256f
commit c5d4716e2e

View File

@ -57,7 +57,7 @@ module Homebrew
# Need to rescue before `*UnavailableError` (superclass of this)
# The formula/cask was found, but there's a problem with its implementation
raise
rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError
rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError, FormulaOrCaskUnavailableError
ignore_unavailable ? [] : raise
end.uniq.freeze
end