Commit d1957dc0 authored by Eloy Duran's avatar Eloy Duran

List all the specifications of a local pod.

parent a60a664d
...@@ -224,9 +224,10 @@ module Pod ...@@ -224,9 +224,10 @@ module Pod
def expanded_paths(patterns, options = {}) def expanded_paths(patterns, options = {})
unless exists? unless exists?
raise Informative, "[Local Pod] Attempt to resolve paths for nonexistent pod `#{@specification}'.\n" \ raise Informative, "[Local Pod] Attempt to resolve paths for nonexistent pod.\n" \
"\tPatterns: #{patterns.inspect}\n" \ "\tSpecifications: #{@specifications.inspect}\n" \
"\t Options: #{options.inspect}" "\t Patterns: #{patterns.inspect}\n" \
"\t Options: #{options.inspect}"
end end
patterns = [ patterns ] if patterns.is_a? String patterns = [ patterns ] if patterns.is_a? String
......
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