Skip to content

Commit

Permalink
chore(tests): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Nov 28, 2023
1 parent 8797373 commit 15797e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/deepExtend.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function deepExtend(objects, collision, path) {
if (options != null) {
// Extend the base object
for (name in options) {
if (!options.hasOwnProperty(name))
if (!options.hasOwnProperty?.(name))
continue
if (name === '__proto__')
continue
Expand Down

0 comments on commit 15797e9

Please sign in to comment.