Skip to content

Commit

Permalink
exceptions: use specific build error checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Nov 5, 2016
1 parent 262eaca commit 83af084
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Library/Homebrew/exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,11 @@ def dump
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

Expand Down

0 comments on commit 83af084

Please sign in to comment.