mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
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…
x
Reference in New Issue
Block a user