Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' into develop

* master:
  List all the specifications of a local pod.
  Improve error message for missing local pod. Closes #323.
  • Loading branch information...
commit 8fc256dcb82e665d6d2417440d3e2244fa671acf 2 parents 49e37aa + d1957dc
@fabiopelosin fabiopelosin authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/cocoapods/local_pod.rb
View
7 lib/cocoapods/local_pod.rb
@@ -357,7 +357,12 @@ def chained_expanded_paths(accessor, options = {})
# @return [Array<Pathname>] A list of the paths.
#
def expanded_paths(patterns, options = {})
- raise Informative, "[Local Pod] Attempt to resolve paths for non existent pod." unless exists?
+ unless exists?
+ raise Informative, "[Local Pod] Attempt to resolve paths for nonexistent pod.\n" \
+ "\tSpecifications: #{@specifications.inspect}\n" \
+ "\t Patterns: #{patterns.inspect}\n" \
+ "\t Options: #{options.inspect}"
+ end
patterns = [ patterns ] if patterns.is_a? String
patterns.map do |pattern|
Please sign in to comment.
Something went wrong with that request. Please try again.