Skip to content
Snippets Groups Projects
Commit 215105a4 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

diagnostic: skip xcode-select check with no Xcode.

Skip the `xcode-select` configuration check if there's no CLT or Xcode
installed as in that case neither will be used.

Fixes #1055.
parent c4519b03
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,7 @@ module Homebrew
def check_xcode_select_path
return if MacOS::CLT.installed?
return unless MacOS::Xcode.installed?
return if File.file?("#{MacOS.active_developer_dir}/usr/bin/xcodebuild")
path = MacOS::Xcode.bundle_path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment