mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:30:43 +00:00
fix(update): repair package config after update
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user