fix: resolve ci failures
This commit is contained in:
@@ -24,8 +24,7 @@ export function registerNodeCli(program: Command) {
|
||||
.description("Run a headless node host (system.run/system.which)")
|
||||
.addHelpText(
|
||||
"after",
|
||||
() =>
|
||||
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/node", "docs.clawd.bot/cli/node")}\n`,
|
||||
() => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/node", "docs.clawd.bot/cli/node")}\n`,
|
||||
);
|
||||
|
||||
node
|
||||
@@ -40,9 +39,7 @@ export function registerNodeCli(program: Command) {
|
||||
.action(async (opts) => {
|
||||
const existing = await loadNodeHostConfig();
|
||||
const host =
|
||||
(opts.host as string | undefined)?.trim() ||
|
||||
existing?.gateway?.host ||
|
||||
"127.0.0.1";
|
||||
(opts.host as string | undefined)?.trim() || existing?.gateway?.host || "127.0.0.1";
|
||||
const port = parsePortWithFallback(opts.port, existing?.gateway?.port ?? 18790);
|
||||
await runNodeHost({
|
||||
gatewayHost: host,
|
||||
|
||||
Reference in New Issue
Block a user