carthage: fix macOS version check.
This commit is contained in:
parent
60790175da
commit
684f2002f6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Carthage < Formula
|
|||
depends_on :xcode => ["10.0", :build]
|
||||
|
||||
def install
|
||||
if MacOS::Xcode.version >= "10.2" && MacOS.version < "10.14.4" && MacOS.version >= "10.14.4"
|
||||
if MacOS::Xcode.version >= "10.2" && MacOS.version < "10.14.4" && MacOS.version >= "10.14"
|
||||
odie "Xcode >=10.2 requires macOS >=10.14.4 to build Swift formulae."
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue