diff options
| author | Xu Cheng | 2015-10-23 19:42:22 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-10-23 19:42:22 +0800 |
| commit | d6bf2f57493f2a94ecce9f07c8a0505a8f29e70a (patch) | |
| tree | c7c94b7de70682d434a60fa25c4d28906877db8e | |
| parent | 30cad0608ff6c22051b5a1e0f3bf566d643bb673 (diff) | |
| download | brew-d6bf2f57493f2a94ecce9f07c8a0505a8f29e70a.tar.bz2 | |
run Checks#check_for_unsupported_osx unconditionally
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index adb17fe57..3791762c0 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -251,10 +251,9 @@ class BuildError < RuntimeError puts issues.map { |i| "#{i["title"]} #{i["html_url"]}" }.join("\n") end - if OS::Mac.prerelease? - require "cmd/doctor" - opoo Checks.new.check_for_unsupported_osx - end + require "cmd/doctor" + unsupported_osx = Checks.new.check_for_unsupported_osx + opoo unsupported_osx if unsupported_osx end end |
