Fixed startup and loading of plugins.
parent
6fe4473e25
commit
a5ce90c135
|
@ -90,7 +90,7 @@ export const update = async () => {
|
||||||
// Load plugin metadata ep.json
|
// Load plugin metadata ep.json
|
||||||
await Promise.all(Object.keys(packagesNew).map(async (pluginName) => {
|
await Promise.all(Object.keys(packagesNew).map(async (pluginName) => {
|
||||||
logger.info(`Loading plugin ${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`);
|
logger.info(`Loaded ${Object.keys(packagesNew).length} plugins`);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue