fix(cli): narrow post-update root

This commit is contained in:
Peter Steinberger
2026-04-06 02:50:18 +01:00
parent 20cbc11f1a
commit 38cb5aefc8

View File

@@ -1087,7 +1087,7 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
}
}
const postUpdateRoot = result.root;
const postUpdateRoot = result.root ?? root;
// A package -> git switch still runs inside the pre-update CLI process.
// Any follow-up work that re-enters the CLI can then compare new bundled