From bf55367f4d04f6645d0b318655c48314def6eab4 Mon Sep 17 00:00:00 2001 From: J H Date: Fri, 26 Jul 2024 15:12:22 -0600 Subject: [PATCH] chore: remove the need for the method in the autoconfig --- .../src/Adapters/Systems/SystemForEmbassy/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/container-runtime/src/Adapters/Systems/SystemForEmbassy/index.ts b/container-runtime/src/Adapters/Systems/SystemForEmbassy/index.ts index 5f8000f25..30b221d4d 100644 --- a/container-runtime/src/Adapters/Systems/SystemForEmbassy/index.ts +++ b/container-runtime/src/Adapters/Systems/SystemForEmbassy/index.ts @@ -886,10 +886,7 @@ export class SystemForEmbassy implements System { // TODO: docker const moduleCode = await this.moduleCode const method = moduleCode.dependencies?.[id]?.autoConfigure - if (!method) - throw new Error( - `Expecting that the method dependency autoConfigure ${id} exists`, - ) + if (!method) return return (await method( polyfillEffects(effects, this.manifest), oldConfig as any,