Merge pull request #4409 from MikeMcQuaid/upgrade-no-pin-failed

install: don't exit on Homebrew.failed?
This commit is contained in:
Mike McQuaid 2018-07-02 14:30:44 +01:00 committed by GitHub
commit 3542f896c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,12 +27,14 @@ module Homebrew
def check_development_tools
checks = Diagnostic::Checks.new
failed = false
checks.fatal_development_tools_checks.each do |check|
out = checks.send(check)
next if out.nil?
failed ||= true
ofail out
end
exit 1 if Homebrew.failed?
exit 1 if failed
end
def check_cellar