diff --git a/src/modules/config.coffee b/src/modules/config.coffee index 014e8b3..341f070 100644 --- a/src/modules/config.coffee +++ b/src/modules/config.coffee @@ -44,10 +44,7 @@ module.exports = (cb) -> # Make the request. request.config (err, result) -> # We do not strictly require config files. - config = {} if err or not _.isObject result - - # Tack on defaults? - ( config[k] ?= v for k, v of defaults ) + config = _.defaults result, defaults # RegExpify the size label? if config.size_label