fix(update): repair package config after update

This commit is contained in:
Peter Steinberger
2026-04-26 09:49:30 +01:00
parent d9c5040fc5
commit 832bdbc777
3 changed files with 4 additions and 3 deletions

View File

@@ -439,7 +439,7 @@ async function runPackageInstallUpdate(params: {
if (entryPath) {
const doctorStep = await runUpdateStep({
name: `${CLI_NAME} doctor`,
argv: [resolveNodeRunner(), entryPath, "doctor", "--non-interactive"],
argv: [resolveNodeRunner(), entryPath, "doctor", "--non-interactive", "--fix"],
env: {
...process.env,
OPENCLAW_UPDATE_IN_PROGRESS: "1",