mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
chore: remove the need for the method in the autoconfig
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user