diagnostic: limit fatal dev tools check to Sierra

This commit is contained in:
Dominyk Tiller 2016-09-23 22:56:41 +01:00
parent bbc3f1c3a8
commit 12aad5c65f
No known key found for this signature in database
GPG Key ID: FE19AEFCF658C6F6

View File

@ -14,14 +14,14 @@ module Homebrew
end end
def fatal_development_tools_checks def fatal_development_tools_checks
if ENV["TRAVIS"] || ARGV.homebrew_developer? if MacOS.version >= :sierra && ENV["CI"].nil?
%w[
]
else
%w[ %w[
check_xcode_up_to_date check_xcode_up_to_date
check_clt_up_to_date check_clt_up_to_date
] ]
else
%w[
]
end end
end end