mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 03:44:31 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -14,7 +14,7 @@ export function setCompactionSafeguardRuntime(
|
||||
return;
|
||||
}
|
||||
|
||||
const key = sessionManager as object;
|
||||
const key = sessionManager;
|
||||
if (value === null) {
|
||||
REGISTRY.delete(key);
|
||||
return;
|
||||
@@ -30,5 +30,5 @@ export function getCompactionSafeguardRuntime(
|
||||
return null;
|
||||
}
|
||||
|
||||
return REGISTRY.get(sessionManager as object) ?? null;
|
||||
return REGISTRY.get(sessionManager) ?? null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user