Skip to content

Commit

Permalink
uses the Homebrew environment accessor
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Cabrera <[email protected]>
  • Loading branch information
ctaintor and carlocab authored Oct 5, 2024
1 parent 5f4a8bd commit 0347687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/mac/diagnostic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def check_xcode_up_to_date
# Homebrew/brew is currently using.
return if GitHub::Actions.env_set?

return if ENV["HOMEBREW_NO_WARN_OUTDATED_XCODE"]
return if Homebrew::EnvConfig.no_warn_outdated_xcode?

# With fake El Capitan for Portable Ruby, we are intentionally not using Xcode 8.
# This is because we are not using the CLT and Xcode 8 has the 10.12 SDK.
Expand Down

0 comments on commit 0347687

Please sign in to comment.