fix(core): Ensure nodes post-processors run in the correct order (#7500)

Fixes #7497
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-10-25 13:59:38 +02:00
committed by GitHub
parent c47d27dd6d
commit 6f45298d3d
4 changed files with 38 additions and 37 deletions

View File

@@ -47,8 +47,8 @@ export abstract class BaseCommand extends Command {
// Make sure the settings exist
this.instanceSettings = Container.get(InstanceSettings);
await Container.get(LoadNodesAndCredentials).init();
this.nodeTypes = Container.get(NodeTypes);
await Container.get(LoadNodesAndCredentials).init();
await Db.init().catch(async (error: Error) =>
this.exitWithCrash('There was an error initializing DB', error),