Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zpbrent authored Mar 17, 2021
1 parent 34344fa commit a7b6d7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ exports.mergeClone = function mergeClone(to, from) {

while (i--) {
key = keys[i];
if (specialProperties.indexOf(key) !== -1) {
continue;
}
if ('undefined' === typeof to[key]) {
to[key] = clone(from[key]);
} else {
Expand Down

0 comments on commit a7b6d7c

Please sign in to comment.