Merge pull request #5297 from MikeMcQuaid/postinstall-developer-failures

formula_installer: output postinstall failures for developers.
This commit is contained in:
Mike McQuaid 2018-11-11 10:40:19 +00:00 committed by GitHub
commit b0f382c177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -930,7 +930,7 @@ class FormulaInstaller
rescue Exception => e # rubocop:disable Lint/RescueException rescue Exception => e # rubocop:disable Lint/RescueException
opoo "The post-install step did not complete successfully" opoo "The post-install step did not complete successfully"
puts "You can try again using `brew postinstall #{formula.full_name}`" puts "You can try again using `brew postinstall #{formula.full_name}`"
ohai e, e.backtrace if debug? ohai e, e.backtrace if debug? || ARGV.homebrew_developer?
Homebrew.failed = true Homebrew.failed = true
@show_summary_heading = true @show_summary_heading = true
end end