mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 21:53:04 -04:00
Merge remote-tracking branch 'upstream/dev'
This commit is contained in:
commit
f0f655fa10
29 changed files with 544 additions and 143 deletions
|
@ -303,11 +303,10 @@ async function runtime(token: string) {
|
|||
delete patch.predicate;
|
||||
delete patch.group;
|
||||
|
||||
if (!Array.isArray(patch.find))
|
||||
patch.find = [patch.find];
|
||||
|
||||
if (!Array.isArray(patch.replacement))
|
||||
Vencord.Util.canonicalizeFind(patch);
|
||||
if (!Array.isArray(patch.replacement)) {
|
||||
patch.replacement = [patch.replacement];
|
||||
}
|
||||
|
||||
patch.replacement.forEach(r => {
|
||||
delete r.predicate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue