-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
How to prompt a user in Husky script? #1401
Comments
you can get tty interaction working with something like |
Yes, we have a pre-commit script for running tests for each changes made but some developers disable it and sometimes miss to run the tests and then push the code. Do you recommend to add the test command in the pre-push script? |
I have a pre-push script where I want to prompt the developers if they run their tests locally before they push their code:
The problem is passing directly to the build command without waiting to get the response (Y/N):
The text was updated successfully, but these errors were encountered: