fix(update): repair package config after update · openclaw/openclaw@832bdbc
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1202,7 +1202,7 @@ describe("update-cli", () => {
|
1202 | 1202 | await updateCommand({ yes: true }); |
1203 | 1203 | |
1204 | 1204 | expect(runCommandWithTimeout).toHaveBeenCalledWith( |
1205 | | -[expect.stringMatching(/node/), entryPath, "doctor", "--non-interactive"], |
| 1205 | +[expect.stringMatching(/node/), entryPath, "doctor", "--non-interactive", "--fix"], |
1206 | 1206 | expect.objectContaining({ |
1207 | 1207 | env: expect.objectContaining({ |
1208 | 1208 | OPENCLAW_UPDATE_IN_PROGRESS: "1", |
@@ -1271,7 +1271,7 @@ describe("update-cli", () => {
|
1271 | 1271 | expect.any(Object), |
1272 | 1272 | ); |
1273 | 1273 | expect(runCommandWithTimeout).toHaveBeenCalledWith( |
1274 | | -[expect.stringMatching(/node/), entryPath, "doctor", "--non-interactive"], |
| 1274 | +[expect.stringMatching(/node/), entryPath, "doctor", "--non-interactive", "--fix"], |
1275 | 1275 | expect.any(Object), |
1276 | 1276 | ); |
1277 | 1277 | expect(updateNpmInstalledPlugins).toHaveBeenCalled(); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。