Don't default 'include' and 'exclude' to an empty array
This commit is contained in:
parent
de5970ae55
commit
d5c3785d29
|
@ -246,7 +246,6 @@ module Jekyll
|
|||
end
|
||||
|
||||
%w(include exclude).each do |option|
|
||||
config[option] ||= []
|
||||
if config[option].is_a?(String)
|
||||
Jekyll::Deprecator.deprecation_message "The '#{option}' configuration option" \
|
||||
" must now be specified as an array, but you specified" \
|
||||
|
|
Loading…
Reference in New Issue