if no env present just return final object

This commit is contained in:
Iuri Matias 2018-01-20 09:01:18 -05:00
parent b19194fc6b
commit 639612579b
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Config.prototype._mergeConfig = function(configFilename, defaultConfig, env) {
if (env) {
return utils.recursiveMerge(configObject['default'] || {}, configObject[env]);
} else {
return utils.recursiveMerge(configObject || {}, configObject || {});
return configObject;
}
};