Commit eee04e07 authored by Eloy Durán's avatar Eloy Durán

[Resolver] Don't include `nil` results.

Fixes #2733.
parent accd6c03
...@@ -106,7 +106,8 @@ module Pod ...@@ -106,7 +106,8 @@ module Pod
specs = find_cached_set(dependency). specs = find_cached_set(dependency).
all_specifications. all_specifications.
select { |s| dependency.requirement.satisfied_by? s.version }. select { |s| dependency.requirement.satisfied_by? s.version }.
map { |s| s.subspec_by_name(dependency.name, false) } map { |s| s.subspec_by_name(dependency.name, false) }.
compact
specs. specs.
reverse. reverse.
......
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