Commit 411bfb13 authored by Marius Rackwitz's avatar Marius Rackwitz

[Refactor] Use existing method as shortcut

Instead of re-implementing the same call chain
parent ca511f0f
...@@ -57,8 +57,8 @@ module Pod ...@@ -57,8 +57,8 @@ module Pod
# depends. # depends.
# #
def dependencies def dependencies
specs.map do |spec| spec_consumers.map do |consumer|
spec.consumer(platform).dependencies.map { |dep| Specification.root_name(dep.name) } consumer.dependencies.map { |dep| Specification.root_name(dep.name) }
end.flatten end.flatten
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