formula_versions: handle references to too old MacOS in formulae

This commit is contained in:
Alexander Bayandin 2020-08-19 09:25:32 +01:00
parent 9a63811e8f
commit b43f17b2d0

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