Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Luigi Pinca <[email protected]>
  • Loading branch information
Swaagie and lpinca authored Jan 30, 2022
1 parent 29851b6 commit 045c1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function merge(target, additional) {
each(additional, function objectForEach(key, value) {
if (target[key] === undefined) {
result[key] = value;
} else if (Object.hasOwnProperty.call(target, key)){
} else if (has.call(target, key)) {
result[key] = merge(target[key], additional[key]);
}
});
Expand Down

0 comments on commit 045c1c7

Please sign in to comment.