run Checks#check_for_unsupported_osx unconditionally

This commit is contained in:
Xu Cheng 2015-10-23 19:42:22 +08:00
parent 30cad0608f
commit d6bf2f5749

View File

@ -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