Skip to content

Commit

Permalink
bug: fix null check in merge-deep (#655)
Browse files Browse the repository at this point in the history
* bug: fix null check in merge-deep

* regen lockfile

* bump test-helpers

* bump ember-try
  • Loading branch information
snewcomer authored Sep 5, 2022
1 parent c5905be commit 37fd723
Show file tree
Hide file tree
Showing 4 changed files with 3,165 additions and 1,996 deletions.
2 changes: 1 addition & 1 deletion addon/utils/merge-deep.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function isMergeableObject(value) {
}

function isNonNullObject(value) {
return !!value && typeof value === 'object';
return !!value && typeof value === 'object' && value !== null;
}

function isSpecial(value) {
Expand Down
Loading

0 comments on commit 37fd723

Please sign in to comment.