fix: replace import console module with direct console (#4487)
This PR addresses the restriction on using 'console' from module for follow [eslint rule](https://eslint.org/docs/latest/rules/no-restricted-imports). The changes include: - Remove all import `console` module, use directly instead Such as: `import {log} from 'console` and `@hyperlane-xyz/utils` ### Changes #### Added #### Modified - `services/HyperlaneService.ts` - `scripts/annouce-validator.ts` ### Testing - Everything work well. Just console ### Notes - In the future, we should manage log on a unified logger instead of directly consolepull/4502/head
parent
57b0735472
commit
5a0d68bdce
@ -0,0 +1,6 @@ |
||||
--- |
||||
'@hyperlane-xyz/ccip-server': patch |
||||
'@hyperlane-xyz/infra': patch |
||||
--- |
||||
|
||||
replace import console module with direct console |
Loading…
Reference in new issue