doctor: don't always fail on 10.11.

Do this just for Homebrew developers (and the bot) currently.
This commit is contained in:
Mike McQuaid 2015-09-07 15:06:11 +01:00
parent 0a39474bcf
commit adc077f188

View File

@ -247,7 +247,7 @@ class Checks
end
def check_for_unsupported_osx
if MacOS.version >= "10.11" then <<-EOS.undent
if !ARGV.homebrew_developer? && MacOS.version >= "10.11" then <<-EOS.undent
You are using OS X #{MacOS.version}.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.