aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index a85797aa8..15dd3328f 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -14,10 +14,15 @@ module Homebrew
end
def fatal_development_tools_checks
- %w[
- check_xcode_up_to_date
- check_clt_up_to_date
- ]
+ if MacOS.prerelease?
+ %w[
+ check_xcode_up_to_date
+ check_clt_up_to_date
+ ]
+ else
+ %w[
+ ]
+ end
end
def check_for_unsupported_macos