mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-11 14:40:52 -07:00
fix(hooks): remove unnecessary logging for hook registration (#18332)
This commit is contained in:
@@ -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',
|
||||
);
|
||||
});
|
||||
|
||||
@@ -41,7 +41,7 @@ export class HookRegistry {
|
||||
this.entries = [];
|
||||
this.processHooksFromConfig();
|
||||
|
||||
debugLogger.log(
|
||||
debugLogger.debug(
|
||||
`Hook registry initialized with ${this.entries.length} hook entries`,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user