From 12aad5c65fee39c5f044e39ca1efcbed58aebd39 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Fri, 23 Sep 2016 22:56:41 +0100 Subject: diagnostic: limit fatal dev tools check to Sierra --- Library/Homebrew/extend/os/mac/diagnostic.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index ba80cbc78..063558f19 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -14,13 +14,13 @@ module Homebrew end def fatal_development_tools_checks - if ENV["TRAVIS"] || ARGV.homebrew_developer? + if MacOS.version >= :sierra && ENV["CI"].nil? %w[ + check_xcode_up_to_date + check_clt_up_to_date ] else %w[ - check_xcode_up_to_date - check_clt_up_to_date ] end end -- cgit v1.2.3