mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 02:55:16 +00:00
fix(update): type legacy doctor handoff env
This commit is contained in:
parent
5a9c0efa54
commit
9863bb964b
1 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ export type DoctorHealthFlowContext = {
|
|||
cfgForPersistence: OpenClawConfig;
|
||||
sourceConfigValid: boolean;
|
||||
configPath: string;
|
||||
env?: NodeJS.ProcessEnv;
|
||||
gatewayDetails?: ReturnType<typeof buildGatewayConnectionDetails>;
|
||||
healthOk?: boolean;
|
||||
gatewayMemoryProbe?: Awaited<ReturnType<typeof probeGatewayMemoryStatus>>;
|
||||
|
|
@ -531,7 +532,7 @@ async function runWriteConfigHealth(ctx: DoctorHealthFlowContext): Promise<void>
|
|||
});
|
||||
if (
|
||||
shouldSkipLegacyUpdateDoctorMetadataWrite({
|
||||
env: process.env,
|
||||
env: ctx.env ?? process.env,
|
||||
before: ctx.cfgForPersistence,
|
||||
after: ctx.cfg,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue