fix(doctor): route setup doctor discovery (#69919)

Merged via squash.

Prepared head SHA: 90c7067941
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Gustavo Madeira Santana
2026-04-21 23:40:22 -04:00
committed by GitHub
parent a8a023779d
commit a197b544fe
17 changed files with 790 additions and 139 deletions

View File

@@ -255,7 +255,9 @@ async function loadConfigFromSnapshotForInstall(
);
}
let nextConfig = snapshot.config;
for (const mutation of await collectChannelDoctorStaleConfigMutations(snapshot.config)) {
for (const mutation of await collectChannelDoctorStaleConfigMutations(snapshot.config, {
env: process.env,
})) {
nextConfig = mutation.config;
}
return nextConfig;