Commit 79473856 authored by Marius Rackwitz's avatar Marius Rackwitz

[Analyzer] Fix #4751

parent b7ef2788
...@@ -286,9 +286,8 @@ module Pod ...@@ -286,9 +286,8 @@ module Pod
# @return [Array<PodTarget>] # @return [Array<PodTarget>]
# #
def generate_pod_targets(specs_by_target) def generate_pod_targets(specs_by_target)
if installation_options.deduplicate_targets?
dedupe_cache = {} dedupe_cache = {}
if installation_options.deduplicate_targets?
all_specs = specs_by_target.flat_map do |target_definition, dependent_specs| all_specs = specs_by_target.flat_map do |target_definition, dependent_specs|
dependent_specs.group_by(&:root).map do |root_spec, specs| dependent_specs.group_by(&:root).map do |root_spec, specs|
[root_spec, specs, target_definition] [root_spec, specs, target_definition]
......
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