I have 2 Husky hooks: pre-commit
and pre-push
. In both hooks, I use echo
to print out progress information and call tasks such as build and test. While the pre-commit
hook prints the output as expected (both the echo
as well as the tasks output), nothing is printed when the pre-push
hook is called. Why is that?
Asked
Active
Viewed 128 times
0

Cupid Chan
- 496
- 4
- 15
-
@starball sorry, it's typo and I corrected that in the question. – Cupid Chan Jun 11 '23 at 23:40