mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 22:09:57 +00:00
chore: Enable some "perf" lint rules.
This commit is contained in:
@@ -527,7 +527,7 @@ export class MemoryIndexManager {
|
||||
entry.chunks = row.c ?? 0;
|
||||
bySource.set(row.source, entry);
|
||||
}
|
||||
return sources.map((source) => ({ source, ...bySource.get(source)! }));
|
||||
return sources.map((source) => Object.assign({ source }, bySource.get(source)!));
|
||||
})();
|
||||
return {
|
||||
files: files?.c ?? 0,
|
||||
|
||||
Reference in New Issue
Block a user