mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-17 12:11:20 +00:00
fix(cli): narrow post-update root
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user