mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch master: e57bfc9313
This commit is contained in:
parent
3e480ee4d8
commit
10daef809d
2 changed files with 2 additions and 2 deletions
|
|
@ -1301,7 +1301,7 @@ class Util {
|
|||
static mergeDefault(def, given) {
|
||||
if (!given) return def;
|
||||
for (const key in def) {
|
||||
if (!{}.hasOwnProperty.call(given, key)) {
|
||||
if (!{}.hasOwnProperty.call(given, key) && def[key] !== undefined) {
|
||||
given[key] = def[key];
|
||||
} else if (given[key] === Object(given[key])) {
|
||||
given[key] = this.mergeDefault(def[key], given[key]);
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue