Fixed startup and loading of plugins.

This commit is contained in:
SamTV12345 2023-07-22 22:22:01 +02:00
parent 6fe4473e25
commit a5ce90c135

View file

@ -90,7 +90,7 @@ export const update = async () => {
// Load plugin metadata ep.json
await Promise.all(Object.keys(packagesNew).map(async (pluginName) => {
logger.info(`Loading plugin ${pluginName}...`);
await loadPlugin(packagesNew, pluginName, pluginsNew, parts);
await loadPlugin(packagesNew, pluginName, pluginsNew, partsNew);
}));
logger.info(`Loaded ${Object.keys(packagesNew).length} plugins`);