*Ensure plugin list is unique
This commit is contained in:
parent
8e5aa6f21b
commit
6d0aef8ae2
|
@ -120,7 +120,7 @@ export function getPluginAPI(): PluginApiManager {
|
|||
}
|
||||
|
||||
export async function loadPlugins() {
|
||||
for (const plugin of config.array("plugins")) {
|
||||
for (const plugin of [...new Set(config.array("plugins", []))] as []) {
|
||||
await getPluginAPI().loadPlugin(plugin);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue