mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +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
|
// TODO: docker
|
||||||
const moduleCode = await this.moduleCode
|
const moduleCode = await this.moduleCode
|
||||||
const method = moduleCode.dependencies?.[id]?.autoConfigure
|
const method = moduleCode.dependencies?.[id]?.autoConfigure
|
||||||
if (!method)
|
if (!method) return
|
||||||
throw new Error(
|
|
||||||
`Expecting that the method dependency autoConfigure ${id} exists`,
|
|
||||||
)
|
|
||||||
return (await method(
|
return (await method(
|
||||||
polyfillEffects(effects, this.manifest),
|
polyfillEffects(effects, this.manifest),
|
||||||
oldConfig as any,
|
oldConfig as any,
|
||||||
|
|||||||
Reference in New Issue
Block a user