Skip to content

Commit 81e325c

Browse files
authored
Merge pull request #1097 from DomT4/software_dev_is_hard
diagnostic: make using outdated dev tools fatal
2 parents 8e11690 + f3ef9a4 commit 81e325c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Library/Homebrew/extend/os/mac/diagnostic.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ def development_tools_checks
1414
end
1515

1616
def fatal_development_tools_checks
17-
if MacOS.prerelease?
17+
if ENV["TRAVIS"] || ARGV.homebrew_developer?
1818
%w[
19-
check_xcode_up_to_date
20-
check_clt_up_to_date
2119
]
2220
else
2321
%w[
22+
check_xcode_up_to_date
23+
check_clt_up_to_date
2424
]
2525
end
2626
end

0 commit comments

Comments
 (0)