mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:20:43 +00:00
fix(plugins): preserve registry manifest fast path
This commit is contained in:
@@ -137,12 +137,7 @@ function hasStalePersistedPluginMetadata(index: InstalledPluginIndex): boolean {
|
||||
plugin.manifestPath,
|
||||
plugin.manifestFile,
|
||||
);
|
||||
if (manifestSignatureMatches === false) {
|
||||
const manifestHash = hashExistingFile(plugin.manifestPath);
|
||||
if (manifestHash && manifestHash !== plugin.manifestHash) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (manifestSignatureMatches !== true) {
|
||||
const manifestHash = hashExistingFile(plugin.manifestPath);
|
||||
if (manifestHash && manifestHash !== plugin.manifestHash) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user