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

View File

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