If no overrides are passed in, just default to a Hash.

This commit is contained in:
Parker Moore 2014-10-20 22:50:13 -07:00
parent 8d02c5cd94
commit 4bccbdead4
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ module Jekyll
# list of option names and their defaults. # list of option names and their defaults.
# #
# Returns the final configuration Hash. # Returns the final configuration Hash.
def configuration(override) def configuration(override = Hash.new)
config = Configuration[Configuration::DEFAULTS] config = Configuration[Configuration::DEFAULTS]
override = Configuration[override].stringify_keys override = Configuration[override].stringify_keys
unless override.delete('skip_config_files') unless override.delete('skip_config_files')