diff --git a/core/config.js b/core/config.js index 25e409f4..ebd9bca5 100644 --- a/core/config.js +++ b/core/config.js @@ -100,6 +100,11 @@ function init(configPath, options, cb) { ], function complete(err, mergedConfig) { exports.config = mergedConfig; + + exports.config.get = function(path) { + return _.get(exports.config, path); + }; + return cb(err); } );