fix(lint): clean manifest registry installed checks

This commit is contained in:
Peter Steinberger
2026-05-27 06:26:15 -04:00
parent 7a7d9dedc1
commit fd648edfa9
2 changed files with 5 additions and 5 deletions
@@ -86,10 +86,10 @@ function createIndexWithFileSignatures(rootDir: string): InstalledPluginIndex {
const index = createIndex(rootDir);
return {
...index,
plugins: index.plugins.map((record) => ({
...record,
manifestFile: fileSignature(record.manifestPath),
})),
plugins: index.plugins.map((record) => {
record.manifestFile = fileSignature(record.manifestPath);
return record;
}),
};
}
+1 -1
View File
@@ -32,7 +32,7 @@ function isDeepFrozenJsonLike(value: unknown, seen = new WeakSet<object>()): boo
if (!value || typeof value !== "object") {
return true;
}
const object = value as object;
const object = value;
if (seen.has(object)) {
return true;
}