-
-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Is this a regression?
No
Current behavior
We're using lefthook for managing git hooks.
If wrapping transloco-keys-manager find within lefthook there is a infinite loop. If setting interactive: true (see their documentation) everything works as expected. This should only be required of reading from stdin or querying TTY.
I had a closer look and it hangs as soon as entering logger.startSpinner( (https://github.com/jsverse/transloco-keys-manager/blob/master/src/utils/logger.ts#L12) which internally uses ora.
Expected behavior
By default it should be possible to use transloco.keys-manager without any interaction or it should be possible to use a flag like --no-interactive.
Please provide a link to a minimal reproduction of the bug
https://github.com/jase88/lefthook-transloco-keys-manager
Transloco Config
not relevantDebug Logs
Please provide the environment you discovered this bug in
Transloco: 7.6.1
Transloco Keys Manager:
Angular: 18.2.14
Node: v22.14.0
Package Manager: npm
OS: MacOSAdditional context
I would like to make a pull request for this bug
No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working