fix(plugins): preserve registry manifest fast path · openclaw/openclaw@2e593d0
vincentkoc
·
2026-05-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -137,12 +137,7 @@ function hasStalePersistedPluginMetadata(index: InstalledPluginIndex): boolean {
|
137 | 137 | plugin.manifestPath, |
138 | 138 | plugin.manifestFile, |
139 | 139 | ); |
140 | | -if (manifestSignatureMatches === false) { |
141 | | -const manifestHash = hashExistingFile(plugin.manifestPath); |
142 | | -if (manifestHash && manifestHash !== plugin.manifestHash) { |
143 | | -return true; |
144 | | -} |
145 | | -} else { |
| 140 | +if (manifestSignatureMatches !== true) { |
146 | 141 | const manifestHash = hashExistingFile(plugin.manifestPath); |
147 | 142 | if (manifestHash && manifestHash !== plugin.manifestHash) { |
148 | 143 | return true; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。