aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/xcode.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/os/mac/xcode.rb')
-rw-r--r--Library/Homebrew/os/mac/xcode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 1279be1d1..0472f73ab 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -84,7 +84,7 @@ module MacOS::Xcode extend self
# This is a separate function as you can't cache the value out of a block
# if return is used in the middle, which we do many times in here.
- return "0" unless MACOS
+ return "0" unless OS.mac?
# this shortcut makes version work for people who don't realise you
# need to install the CLI tools