mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 14:04:58 +00:00
style: apply oxfmt
This commit is contained in:
@@ -24,9 +24,7 @@ export async function setupInternalHooks(
|
||||
const report = buildWorkspaceHookStatus(workspaceDir, { config: cfg });
|
||||
|
||||
// Filter for eligible and recommended hooks (session-memory is recommended)
|
||||
const recommendedHooks = report.hooks.filter(
|
||||
(h) => h.eligible && h.name === "session-memory",
|
||||
);
|
||||
const recommendedHooks = report.hooks.filter((h) => h.eligible && h.name === "session-memory");
|
||||
|
||||
if (recommendedHooks.length === 0) {
|
||||
await prompter.note(
|
||||
|
||||
Reference in New Issue
Block a user