fix(plugins): tolerate legacy inspect reports · openclaw/openclaw@93b9223
steipete
·
2026-05-15
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -343,7 +343,7 @@ export async function runPluginsInspectCommand(
|
343 | 343 | lines.push(...formatInspectSection("Commands", inspect.commands)); |
344 | 344 | lines.push(...formatInspectSection("CLI commands", inspect.cliCommands)); |
345 | 345 | lines.push(...formatInspectSection("Services", inspect.services)); |
346 | | -lines.push(...formatInspectSection("Gateway methods", inspect.gatewayMethods)); |
| 346 | +lines.push(...formatInspectSection("Gateway methods", inspect.gatewayMethods ?? [])); |
347 | 347 | lines.push( |
348 | 348 | ...formatInspectSection( |
349 | 349 | "MCP servers", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。