mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
fix(doctor): default missing health env
This commit is contained in:
@@ -519,7 +519,7 @@ async function runWriteConfigHealth(ctx: DoctorHealthFlowContext): Promise<void>
|
||||
command: "doctor",
|
||||
mode: resolveDoctorMode(ctx.cfg),
|
||||
});
|
||||
if (shouldSkipLegacyUpdateDoctorConfigWrite({ env: ctx.env })) {
|
||||
if (shouldSkipLegacyUpdateDoctorConfigWrite({ env: ctx.env ?? process.env })) {
|
||||
ctx.runtime.log("Skipping doctor config write during legacy update handoff.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user