fix(plugins): preserve registry manifest fast path

This commit is contained in:
Vincent Koc
2026-05-02 19:02:59 -07:00
parent d69d610bf0
commit 2e593d07f7

View File

@@ -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;