fix(release): handle missing plugin registry fallback · openclaw/openclaw@efa1500
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -319,6 +319,9 @@ export function resolvePluginProviders(params: {
|
319 | 319 | workspaceDir: base.workspaceDir, |
320 | 320 | requiredPluginIds: loadState.loadOptions.onlyPluginIds, |
321 | 321 | }) ?? resolveRuntimePluginRegistry(loadState.loadOptions)); |
| 322 | +if (!registry) { |
| 323 | +return []; |
| 324 | +} |
322 | 325 | |
323 | 326 | return registry.providers.map((entry) => |
324 | 327 | Object.assign({}, entry.provider, { pluginId: entry.pluginId }), |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。