don't attempt autoconfig if config is null (#2775)

* don't attempt autoconfig if config is null

* quiet

* fixes
This commit is contained in:
Aiden McClelland
2024-11-05 20:38:30 -07:00
committed by GitHub
parent 176b1c9d20
commit 020268fe67
3 changed files with 87 additions and 81 deletions

View File

@@ -929,6 +929,7 @@ export class SystemForEmbassy implements System {
this.dependenciesAutoconfig(effects, id, timeoutMs)
},
})) as U.Config
if (!oldConfig) return
const moduleCode = await this.moduleCode
const method = moduleCode.dependencies?.[id]?.autoConfigure
if (!method) return