chore(lint): enable stricter oxlint rules

This commit is contained in:
Peter Steinberger
2026-05-31 18:43:54 +01:00
parent cb569f6ad9
commit 304e2c83c0
615 changed files with 3603 additions and 3701 deletions

View File

@@ -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,