updated hooks folder location

This commit is contained in:
Leyla Becker 2024-09-21 12:24:54 -05:00
parent 630eb55f09
commit a0e047db97
3 changed files with 1 additions and 1 deletions

3
.hooks/post-commit Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
git stash pop -q

11
.hooks/pre-commit Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
git stash -q --keep-index
./lint.sh
RESULT=$?
git add -u
exit $RESULT