if no env present just return final object
This commit is contained in:
parent
b19194fc6b
commit
639612579b
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue