Skip to content

Commit 8ad15d5

Browse files
author
Vikas Agarwal
committed
Trying to unset a key if source has it as null
1 parent f2c189e commit 8ad15d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/util.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,9 @@ _.assignIn(util, {
384384
if (_.isArray(source)) {
385385
return source;
386386
}
387+
if (source === null) {
388+
_.unset(destination, key);
389+
}
387390
}),
388391
});
389392

0 commit comments

Comments
 (0)