Skip to content

Commit

Permalink
[Linter] Tune warnings and errors 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Mar 19, 2013
1 parent ecd91fa commit 56793ff
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 @@ -225,7 +225,7 @@ def _validate_description(d)
def _validate_license(l)
type = l[:type]
warning "Missing license type." if type.nil?
warning "Invalid license type." if type && type.gsub(' ', '').gsub("\n", '').empty?
master_repo_error "Invalid license type." if type && type.gsub(' ', '').gsub("\n", '').empty?
error "Sample license type." if type && type =~ /\(example\)/
end

Expand Down

0 comments on commit 56793ff

Please sign in to comment.