formula_installer: tweak dependent requirements.
If a requirement is for a dependent that's already installed and that dependency is not using a `default_formula` (which would have already been converted from a `Requirement` to `Dependency` at this stage) then we want to stop it killing the build.
This commit is contained in:
parent
202e5f5332
commit
cc752e97f6
@ -307,8 +307,8 @@ class FormulaInstaller
|
||||
fatals = []
|
||||
|
||||
req_map.each_pair do |dependent, reqs|
|
||||
next if dependent.installed?
|
||||
reqs.each do |req|
|
||||
next if dependent.installed? && req.name == "maximummacos"
|
||||
puts "#{dependent}: #{req.message}"
|
||||
fatals << req if req.fatal?
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user