aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/xcode.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-20 22:24:31 +0200
committerMarkus Reiter2016-09-23 15:30:06 +0200
commit23eac7ab897818689eeff6a810354d85543ad2bb (patch)
tree7638ad6bf1a937c76e68af7ebea473a40e958784 /Library/Homebrew/os/mac/xcode.rb
parent52ff98853068c03b3bfa777932da1da69e35e583 (diff)
downloadbrew-23eac7ab897818689eeff6a810354d85543ad2bb.tar.bz2
Fix DoubleNegation.
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 3aab9bf52..dac8b8f1e 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -175,7 +175,7 @@ module OS
# Returns true even if outdated tools are installed, e.g.
# tools from Xcode 4.x on 10.9
def installed?
- !!detect_version
+ !detect_version.nil?
end
def update_instructions