Commit c9105e1b authored by Fabio Pelosin's avatar Fabio Pelosin

[Resolver] Gracefully terminate if unable to find a set

parent 1bf6bdeb
...@@ -188,6 +188,9 @@ module Pod ...@@ -188,6 +188,9 @@ module Pod
set = cached_sources.search(dependency) set = cached_sources.search(dependency)
end end
cached_sets[name] = set cached_sets[name] = set
unless set
raise Informative, "Unable to find a specification for `#{dependency}`."
end
end end
cached_sets[name] cached_sets[name]
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