Update config-loader.js
This commit is contained in:
parent
5059ca7b4b
commit
14a74903ce
|
@ -291,9 +291,9 @@ function mergeArrays(target, config, keyPrefix) {
|
|||
|
||||
function mergeArraysDiffLength(target, config) {
|
||||
var newTarget = lodash.cloneDeep(target, true);
|
||||
//union of both the target and config arrays.
|
||||
// Union of both the target and config arrays.
|
||||
var union = lodash.union(newTarget, config);
|
||||
//modifies the target array with the union.
|
||||
// Modifies the target array with the union.
|
||||
Array.prototype.splice.apply(target, [0, target.length].concat(union));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue