mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix(update): avoid repair command lint shadow
This commit is contained in:
committed by
Ayaan Zaidi
parent
800f4dcb62
commit
f0206d935a
@@ -60,12 +60,12 @@ function registerUpdateRepairCommand(update: Command, name: string, params?: { h
|
||||
"Docs:",
|
||||
)} ${formatDocsLink("/cli/update", "docs.openclaw.ai/cli/update")}`,
|
||||
)
|
||||
.action(async (opts, command) => {
|
||||
.action(async (opts, actionCommand) => {
|
||||
try {
|
||||
await updateFinalizeCommand({
|
||||
json: Boolean(opts.json) || inheritedUpdateJson(command),
|
||||
json: Boolean(opts.json) || inheritedUpdateJson(actionCommand),
|
||||
channel: opts.channel as string | undefined,
|
||||
timeout: inheritedUpdateTimeout(opts, command),
|
||||
timeout: inheritedUpdateTimeout(opts, actionCommand),
|
||||
yes: Boolean(opts.yes),
|
||||
restart: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user