Merge pull request #8389 from bayandin/handle-too-old-macos-versions

formula_versions: handle references to too old MacOS in formulae
This commit is contained in:
Alexander Bayandin 2020-08-19 12:59:34 +01:00 committed by GitHub
commit 25e6f84060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,9 @@ class FormulaVersions
versions_seen = (map.keys + [f.pkg_version]).uniq.length
end
return map if versions_seen > MAX_VERSIONS_DEPTH
rescue MacOSVersionError => e
odebug "#{e} in #{name} at revision #{rev}" if debug?
break
end
map
end