diff options
| author | Mike McQuaid | 2016-11-05 10:40:07 -0400 |
|---|---|---|
| committer | Mike McQuaid | 2016-11-05 10:58:39 -0400 |
| commit | 83af084079d8c334ad346ae6baf8e5135e65057a (patch) | |
| tree | 463ddd8fc85f138653ff862475c1b9237bf8f7dc /Library/Homebrew | |
| parent | 262eaca56e9efbb21a20be2fe83af563c9b9289e (diff) | |
| download | brew-83af084079d8c334ad346ae6baf8e5135e65057a.tar.bz2 | |
exceptions: use specific build error checks.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 7aecbe494..834ef91ac 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -367,8 +367,11 @@ class BuildError < RuntimeError end require "diagnostic" - unsupported_macos = Homebrew::Diagnostic::Checks.new.check_for_unsupported_macos - opoo unsupported_macos if unsupported_macos + checks = Homebrew::Diagnostic::Checks.new + checks.build_error_checks.each do |check| + next if out.nil? + ofail out + end end end |
