From ffd3990a6ba1e9a7e5bb2458829e24ea6629cedb Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 21 Oct 2014 11:57:01 -0700 Subject: [PATCH] Split with the new method --- src/config.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.coffee b/src/config.coffee index 2fd30d924..bf03a36f7 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -853,7 +853,7 @@ class Config @scopedSettingsStore.addProperties('schema-default', scopedDefaults) if schema.type is 'object' and schema.properties? and isPlainObject(schema.properties) - keys = if keyPath? then keyPath.split('.') else [] + keys = splitKeyPath(keyPath) for key, childValue of schema.properties continue unless schema.properties.hasOwnProperty(key) @setScopedDefaultsFromSchema(keys.concat([key]).join('.'), childValue)