Skip to content

Commit

Permalink
Add more descriptive error message for existing Git example source url
Browse files Browse the repository at this point in the history
  • Loading branch information
ricobeck committed Jan 9, 2014
1 parent 316bcb4 commit 7ffcdf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-core/specification/linter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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`.'
Expand Down

0 comments on commit 7ffcdf0

Please sign in to comment.