Permalink
Browse files

Merge pull request #56 from ricobeck/master

Add more descriptive error message for existing Git example source url
  • Loading branch information...
2 parents 316bcb4 + 7ffcdf0 commit 10ebb60461780f61a2dbb2dd94dc431366da41f4 @alloy alloy committed Jan 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cocoapods-core/specification/linter.rb
@@ -307,7 +307,7 @@ def _validate_source(s)
version = spec.version.to_s
if git =~ %r[http://EXAMPLE]
- error "Example source."
+ error "The Git source still contains the example URL."
end
if commit && commit.downcase =~ /head/
error 'The commit of a Git source cannot be `HEAD`.'

0 comments on commit 10ebb60

Please sign in to comment.