Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve error message when a local source dir doesn't exist.

  • Loading branch information...
commit aad3fb48292cb7dbc889c6cb84d393f88df48ba3 1 parent 5b562bb
@alloy alloy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cocoapods/dependency.rb
View
4 lib/cocoapods/dependency.rb
@@ -167,7 +167,7 @@ def specification_from_local(sandbox, platform)
def specification_from_external(sandbox, platform)
copy_external_source_into_sandbox(sandbox, platform)
spec = specification_from_local(sandbox, platform)
- raise Informative, "No podspec found for `#{name}` in #{description}" unless spec
+ raise Informative, "No podspec found for `#{name}' in #{description}" unless spec
spec
end
@@ -219,7 +219,7 @@ def description
class LocalSource < AbstractExternalSource
def pod_spec_path
path = Pathname.new(@params[:local]).expand_path + "#{name}.podspec"
- raise Informative, "No podspec found for `#{name}` in #{description}" unless path.exist?
+ raise Informative, "No podspec found for `#{name}' in `#{@params[:local]}'" unless path.exist?
path
end
Please sign in to comment.
Something went wrong with that request. Please try again.