fix(hooks): remove unnecessary logging for hook registration (#18332)

This commit is contained in:
Abhi
2026-02-04 14:48:33 -05:00
committed by GitHub
parent d79478689f
commit 3afc8f25e1
2 changed files with 2 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ describe('HookRegistry', () => {
await hookRegistry.initialize();
expect(hookRegistry.getAllHooks()).toHaveLength(0);
expect(mockDebugLogger.log).toHaveBeenCalledWith(
expect(mockDebugLogger.debug).toHaveBeenCalledWith(
'Hook registry initialized with 0 hook entries',
);
});

View File

@@ -41,7 +41,7 @@ export class HookRegistry {
this.entries = [];
this.processHooksFromConfig();
debugLogger.log(
debugLogger.debug(
`Hook registry initialized with ${this.entries.length} hook entries`,
);
}