diff --git a/src/flows/doctor-health-contributions.ts b/src/flows/doctor-health-contributions.ts index 7fce3615273..052a05ed22a 100644 --- a/src/flows/doctor-health-contributions.ts +++ b/src/flows/doctor-health-contributions.ts @@ -531,7 +531,7 @@ async function runWriteConfigHealth(ctx: DoctorHealthFlowContext): Promise }); if ( shouldSkipLegacyUpdateDoctorMetadataWrite({ - env: ctx.env, + env: process.env, before: ctx.cfgForPersistence, after: ctx.cfg, })