Don't default 'include' and 'exclude' to an empty array

This commit is contained in:
Parker Moore 2016-05-18 12:49:23 -07:00 committed by Pat Hawks
parent de5970ae55
commit d5c3785d29
1 changed files with 0 additions and 1 deletions

View File

@ -246,7 +246,6 @@ module Jekyll
end end
%w(include exclude).each do |option| %w(include exclude).each do |option|
config[option] ||= []
if config[option].is_a?(String) if config[option].is_a?(String)
Jekyll::Deprecator.deprecation_message "The '#{option}' configuration option" \ Jekyll::Deprecator.deprecation_message "The '#{option}' configuration option" \
" must now be specified as an array, but you specified" \ " must now be specified as an array, but you specified" \