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:
parent
ab3d906e04
commit
060904d809
|
@ -66,7 +66,6 @@ eos
|
||||||
# New matching method did not match, fall back to old method
|
# New matching method did not match, fall back to old method
|
||||||
# with deprecation warning if this matches
|
# with deprecation warning if this matches
|
||||||
|
|
||||||
|
|
||||||
site.posts.docs.each do |p|
|
site.posts.docs.each do |p|
|
||||||
next unless @post.deprecated_equality p
|
next unless @post.deprecated_equality p
|
||||||
Jekyll::Deprecator.deprecation_message "A call to '{{ post_url #{@post.name} }}' did not match " \
|
Jekyll::Deprecator.deprecation_message "A call to '{{ post_url #{@post.name} }}' did not match " \
|
||||||
|
|
|
@ -33,7 +33,7 @@ module Jekyll
|
||||||
def has?(str)
|
def has?(str)
|
||||||
!!(str =~ MATCH)
|
!!(str =~ MATCH)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Reset the color back to the default color so that you do not leak any
|
# 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
|
# 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.
|
# used as part of a wrapper so that we don't leak colors.
|
||||||
|
|
|
@ -19,7 +19,6 @@ module Jekyll
|
||||||
|
|
||||||
{ :windows? => /mswin|mingw|cygwin/, :linux? => /linux/, \
|
{ :windows? => /mswin|mingw|cygwin/, :linux? => /linux/, \
|
||||||
:osx? => /darwin|mac os/, :unix? => /solaris|bsd/ }.each do |k, v|
|
:osx? => /darwin|mac os/, :unix? => /solaris|bsd/ }.each do |k, v|
|
||||||
|
|
||||||
define_method k do
|
define_method k do
|
||||||
!!(
|
!!(
|
||||||
RbConfig::CONFIG["host_os"] =~ v
|
RbConfig::CONFIG["host_os"] =~ v
|
||||||
|
|
Loading…
Reference in New Issue