[PodTarget] Make #recursive_dependent_targets truly recursive

parent 35bfd3ce
...@@ -188,7 +188,7 @@ module Pod ...@@ -188,7 +188,7 @@ module Pod
# dependency upon. # dependency upon.
# #
def recursive_dependent_targets def recursive_dependent_targets
targets = dependent_targets + dependent_targets.flat_map(&:dependent_targets) targets = dependent_targets + dependent_targets.flat_map(&:recursive_dependent_targets)
targets.uniq! targets.uniq!
targets targets
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment