Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Issues (multiplication of stdout), colors/animations not working #141

Open
AlexanderOpran opened this issue Feb 26, 2020 · 2 comments

Comments

@AlexanderOpran
Copy link

Multiplication of stdout (I traced this issue down to the log-update package but I could be wrong). Seems like the package doesn't know what to cut from the output (wrong terminal height or something).

Colors and animations are not showing (I can set an env variable to bypass this but the multiplication bug is still there). Again, I believe this is a windows and dependencies issue. This happens with regular git hooks created manually, not only with husky.

I've looked a bit into the code and the issues is related to the check for tty process.stdout.istty which is undefined in my case when the process is starting from a hook. As such, the fallback renderer is used.

Thanks!

@jroboyd
Copy link

jroboyd commented Sep 7, 2022

For it only outputs multiple times on a pre commit hook.

@mreduar
Copy link

mreduar commented Jan 21, 2024

Hello @AlexanderOpran Did you find a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants