Commit 4909373d authored by Victor Ilyukevich's avatar Victor Ilyukevich

removed exception catching in recursive_subspecs

see [this
discussion](https://github.com/CocoaPods/CocoaPods/commit/6bedfe0baac10e4e6ff30968b18acd111c143e1e#commitcomment-1212777)
for details
parent 77fd0da6
......@@ -131,16 +131,12 @@ module Pod
def recursive_subspecs
unless @recursive_subspecs
begin
mapper = lambda do |spec|
spec.subspecs.map do |subspec|
[subspec, *mapper.call(subspec)]
end.flatten
end
@recursive_subspecs = mapper.call self
rescue StandardError
@recursive_subspecs = []
end
end
@recursive_subspecs
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