mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-02 16:04:38 -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();
|
await hookRegistry.initialize();
|
||||||
|
|
||||||
expect(hookRegistry.getAllHooks()).toHaveLength(0);
|
expect(hookRegistry.getAllHooks()).toHaveLength(0);
|
||||||
expect(mockDebugLogger.log).toHaveBeenCalledWith(
|
expect(mockDebugLogger.debug).toHaveBeenCalledWith(
|
||||||
'Hook registry initialized with 0 hook entries',
|
'Hook registry initialized with 0 hook entries',
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ export class HookRegistry {
|
|||||||
this.entries = [];
|
this.entries = [];
|
||||||
this.processHooksFromConfig();
|
this.processHooksFromConfig();
|
||||||
|
|
||||||
debugLogger.log(
|
debugLogger.debug(
|
||||||
`Hook registry initialized with ${this.entries.length} hook entries`,
|
`Hook registry initialized with ${this.entries.length} hook entries`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user