xcode: fix nil outdated comparison.

This commit is contained in:
Mike McQuaid 2013-11-08 09:54:14 +00:00
parent 8aa42e5bf1
commit 90c696ea67

View File

@ -197,6 +197,7 @@ module OS
def outdated?
version = `/usr/bin/clang --version`[%r{clang-(\d+\.\d+\.\d+)}, 1]
return true unless version
version < latest_version
end