Skip to content

Commit

Permalink
[Linter] Tune warnings and errors 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Mar 19, 2013
1 parent 56793ff commit dfb75c6
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 @@ -98,7 +98,7 @@ def perform_textual_analysis
text = @file.read
error "`config.ios?` and `config.osx?` are deprecated." if text =~ /config\..?os.?/
error "clean_paths are deprecated (use preserve_paths)." if text =~ /clean_paths/
warning "Comments must be deleted." if text.scan(/^\s*#\s+/).length > 24
master_repo_error "Comments must be deleted." if text.scan(/^\s*#\s+/).length > 24
end

# Checks that every root only attribute which is required has a value.
Expand Down

0 comments on commit dfb75c6

Please sign in to comment.