Skip to content

Commit 1982fbf

Browse files
fix(update): avoid repair command lint shadow
1 parent 718a733 commit 1982fbf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cli/update-cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ function registerUpdateRepairCommand(update: Command, name: string, params?: { h
6060
"Docs:",
6161
)} ${formatDocsLink("/cli/update", "docs.openclaw.ai/cli/update")}`,
6262
)
63-
.action(async (opts, command) => {
63+
.action(async (opts, actionCommand) => {
6464
try {
6565
await updateFinalizeCommand({
66-
json: Boolean(opts.json) || inheritedUpdateJson(command),
66+
json: Boolean(opts.json) || inheritedUpdateJson(actionCommand),
6767
channel: opts.channel as string | undefined,
68-
timeout: inheritedUpdateTimeout(opts, command),
68+
timeout: inheritedUpdateTimeout(opts, actionCommand),
6969
yes: Boolean(opts.yes),
7070
restart: false,
7171
});

0 commit comments

Comments
 (0)