Ignore FormulaOrCaskUnavailableError.
This commit is contained in:
parent
507db5256f
commit
c5d4716e2e
@ -57,7 +57,7 @@ module Homebrew
|
|||||||
# Need to rescue before `*UnavailableError` (superclass of this)
|
# Need to rescue before `*UnavailableError` (superclass of this)
|
||||||
# The formula/cask was found, but there's a problem with its implementation
|
# The formula/cask was found, but there's a problem with its implementation
|
||||||
raise
|
raise
|
||||||
rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError
|
rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError, FormulaOrCaskUnavailableError
|
||||||
ignore_unavailable ? [] : raise
|
ignore_unavailable ? [] : raise
|
||||||
end.uniq.freeze
|
end.uniq.freeze
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user