xcode: fix nil outdated comparison.
This commit is contained in:
parent
8aa42e5bf1
commit
90c696ea67
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user