Skip to content

Commit a7b6d7c

Browse files
authored
Update utils.js
1 parent 34344fa commit a7b6d7c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/utils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ exports.mergeClone = function mergeClone(to, from) {
170170

171171
while (i--) {
172172
key = keys[i];
173+
if (specialProperties.indexOf(key) !== -1) {
174+
continue;
175+
}
173176
if ('undefined' === typeof to[key]) {
174177
to[key] = clone(from[key]);
175178
} else {

0 commit comments

Comments
 (0)