UNPKG

113 Bapplication/x-shView Raw
1# pre-commit.sh
2git stash -q --keep-index
3npm test
4RESULT=$?
5[ $RESULT -ne 0 ] && exit 1
6git stash pop -q
7exit 0