Fixed startup and loading of plugins.

feature/esm
SamTV12345 2023-07-22 22:22:01 +02:00
parent 6fe4473e25
commit a5ce90c135
1 changed files with 1 additions and 1 deletions

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`);