Rubocop: Style/TrailingWhitespace

- Trailing whitespace detected
Rubocop: Style/EmptyLines
 - Extra blank line detected
Rubocop: Style/EmptyLinesAroundBlockBody
 - Extra empty line detected at block body beginning
This commit is contained in:
Pat Hawks 2016-01-04 12:16:36 -08:00
parent ab3d906e04
commit 060904d809
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
3 changed files with 1 additions and 3 deletions

View File

@ -66,7 +66,6 @@ eos
# New matching method did not match, fall back to old method
# with deprecation warning if this matches
site.posts.docs.each do |p|
next unless @post.deprecated_equality p
Jekyll::Deprecator.deprecation_message "A call to '{{ post_url #{@post.name} }}' did not match " \

View File

@ -33,7 +33,7 @@ module Jekyll
def has?(str)
!!(str =~ MATCH)
end
# Reset the color back to the default color so that you do not leak any
# colors when you move onto the next line. This is probably normally
# used as part of a wrapper so that we don't leak colors.

View File

@ -19,7 +19,6 @@ module Jekyll
{ :windows? => /mswin|mingw|cygwin/, :linux? => /linux/, \
:osx? => /darwin|mac os/, :unix? => /solaris|bsd/ }.each do |k, v|
define_method k do
!!(
RbConfig::CONFIG["host_os"] =~ v