Skip to content

Commit 37fd723

Browse files
authored
bug: fix null check in merge-deep (#655)
* bug: fix null check in merge-deep * regen lockfile * bump test-helpers * bump ember-try
1 parent c5905be commit 37fd723

File tree

4 files changed

+3165
-1996
lines changed

4 files changed

+3165
-1996
lines changed

addon/utils/merge-deep.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function isMergeableObject(value) {
55
}
66

77
function isNonNullObject(value) {
8-
return !!value && typeof value === 'object';
8+
return !!value && typeof value === 'object' && value !== null;
99
}
1010

1111
function isSpecial(value) {

0 commit comments

Comments
 (0)