do not prepend groups
Some checks are pending
Build / windows (arm64) (push) Waiting to run
Build / windows (ia32) (push) Waiting to run
Build / windows (x64) (push) Waiting to run
Build / linux (arm64) (push) Waiting to run
Build / linux (x64) (push) Waiting to run
Build / macos (arm64) (push) Waiting to run
Build / macos (x64) (push) Waiting to run
Build / aur-release-updater (mihomo-party) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-bin) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron-bin) (push) Blocked by required conditions
Build / aur-git-updater (push) Waiting to run

This commit is contained in:
pompurin404 2024-08-18 13:52:27 +08:00
parent 32a1ea5cfb
commit e122e21693
No known key found for this signature in database

View File

@ -39,9 +39,6 @@ async function overrideProfile(
if (patch.proxies) { if (patch.proxies) {
patch.proxies = [...patch.proxies, ...(profile.proxies || [])] patch.proxies = [...patch.proxies, ...(profile.proxies || [])]
} }
if (patch['proxy-groups']) {
patch['proxy-groups'] = [...patch['proxy-groups'], ...(profile['proxy-groups'] || [])]
}
profile = deepMerge(profile, patch) profile = deepMerge(profile, patch)
break break
} }