Treat future SDKs as "latest"
Some SDKs return a number higher than the hard-coded `latest_version` in this file. With the current `==` check, those higher version numbers are treated as "not the latest". This prevents machines with higher-versioned SDKs from being able to use Homebrew. To resolve that problem, this PR changes the check to `>=`, which allows machines with higher-versioned SDKs to also use Homebrew to install packages.
This commit is contained in:
parent
464b41eb52
commit
e63eff2201
@ -44,7 +44,7 @@ module OS
|
||||
end
|
||||
|
||||
def latest_sdk_version?
|
||||
OS::Mac.version == OS::Mac.latest_sdk_version
|
||||
OS::Mac.version >= OS::Mac.latest_sdk_version
|
||||
end
|
||||
|
||||
def needs_clt_installed?
|
||||
|
Loading…
x
Reference in New Issue
Block a user