mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
fix(lint): clean manifest registry installed checks
This commit is contained in:
@@ -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;
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user