If no overrides are passed in, just default to a Hash.
This commit is contained in:
parent
8d02c5cd94
commit
4bccbdead4
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue