mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-30 10:43:36 +00:00
chore(lint): enable stricter oxlint rules
This commit is contained in:
@@ -3558,7 +3558,7 @@ async function updateCommandInternal(opts: UpdateCommandOptions): Promise<void>
|
||||
}
|
||||
|
||||
let restartScriptPath: string | null = null;
|
||||
let refreshGatewayServiceEnv = false;
|
||||
let refreshGatewayServiceEnvLocal = false;
|
||||
let gatewayServiceEnv: NodeJS.ProcessEnv | undefined;
|
||||
let gatewayPort = resolveUpdatedGatewayRestartPort({
|
||||
config: postUpdateConfigSnapshot.valid ? postUpdateConfigSnapshot.config : undefined,
|
||||
@@ -3587,7 +3587,7 @@ async function updateCommandInternal(opts: UpdateCommandOptions): Promise<void>
|
||||
serviceEnv: gatewayServiceEnv,
|
||||
});
|
||||
restartScriptPath = await prepareRestartScript(serviceState.env, gatewayPort);
|
||||
refreshGatewayServiceEnv = true;
|
||||
refreshGatewayServiceEnvLocal = true;
|
||||
}
|
||||
} catch {
|
||||
// Ignore errors during pre-check; fallback to standard restart
|
||||
@@ -3610,7 +3610,7 @@ async function updateCommandInternal(opts: UpdateCommandOptions): Promise<void>
|
||||
shouldRestart,
|
||||
result: resultWithPostUpdate,
|
||||
opts,
|
||||
refreshServiceEnv: refreshGatewayServiceEnv,
|
||||
refreshServiceEnv: refreshGatewayServiceEnvLocal,
|
||||
serviceEnv: gatewayServiceEnv,
|
||||
gatewayPort,
|
||||
restartScriptPath,
|
||||
|
||||
Reference in New Issue
Block a user