Order fromConfig arguments config first

Controller.fromConfig and Host.fromConfig now take the config, then the
plugin infos, then the logger or connector.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-10-24 00:05:32 +00:00
1 parent ee097bfa6f
commit 3a81cfd94b
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -331,9 +331,9 @@ export default class Host extends lib.Link {
/** Create a host with its mod store loaded from disk */
static async fromConfig(
connector: HostConnector,
hostConfig: lib.HostConfig,
pluginInfos: lib.PluginNodeEnvInfo[],
connector: HostConnector,
canRestart = false,
recoveryMode = false,
) {