Merge pull request #12054 from Bo98/upgrade-fix
Fix undefined method error following CannotInstallFormulaError
This commit is contained in:
commit
ab281b0553
@ -299,6 +299,7 @@ module Homebrew
|
||||
fi
|
||||
rescue CannotInstallFormulaError => e
|
||||
ofail e.message
|
||||
nil
|
||||
rescue UnsatisfiedRequirements, DownloadError, ChecksumMismatchError => e
|
||||
ofail "#{f}: #{e}"
|
||||
nil
|
||||
|
@ -73,6 +73,7 @@ module Homebrew
|
||||
fi
|
||||
rescue CannotInstallFormulaError => e
|
||||
ofail e
|
||||
nil
|
||||
rescue UnsatisfiedRequirements, DownloadError => e
|
||||
ofail "#{formula}: #{e}"
|
||||
nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user