Skip to content

Commit e6b0a22

Browse files
committed
test(update): align corrupt plugin repair guidance
1 parent 2129d5b commit e6b0a22

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/e2e/lib/plugin-update/probe.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ function assertCorruptPluginDetails(plugins, pluginId) {
240240
? [
241241
`Disabled "${pluginId}" after plugin update failure`,
242242
"OpenClaw will continue without it",
243-
"Run openclaw doctor --fix to attempt automatic repair.",
243+
"Run openclaw update repair to retry post-update plugin repair.",
244244
`Run openclaw plugins inspect ${pluginId} --runtime --json for details.`,
245245
]
246246
: [
247247
"package.json is missing",
248-
"Run openclaw doctor --fix to attempt automatic repair.",
248+
"Run openclaw update repair to retry post-update plugin repair.",
249249
`Run openclaw plugins inspect ${pluginId} --runtime --json for details.`,
250250
];
251251
for (const expected of expectedFragments) {

test/scripts/plugin-update-unchanged-docker.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ describe("plugin update unchanged Docker E2E", () => {
195195
message:
196196
`Plugin "${CORRUPT_PLUGIN_ID}" could not be processed after the core update: ` +
197197
disabledAfterFailure.npm.outcomes[0].message +
198-
" Run openclaw doctor --fix to attempt automatic repair. " +
198+
" Run openclaw update repair to retry post-update plugin repair. " +
199199
`Run openclaw plugins inspect ${CORRUPT_PLUGIN_ID} --runtime --json for details.`,
200200
},
201201
],

0 commit comments

Comments
 (0)