1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +00:00

fix pre-commit

This commit is contained in:
checktheroads 2021-01-03 23:24:48 -07:00
parent 88a9b90e96
commit 42e2ed089e

View file

@ -22,9 +22,17 @@ do
if [ "$arg" == "--typescript" ]
then
check_typescript
else [ "$arg" == "--eslint" ]
exit 0
elif [ "$arg" == "--eslint" ]
then
check_eslint
else [ "$arg" == "--prettier" ]
exit 0
elif [ "$arg" == "--prettier" ]
then
check_prettier
exit 0
else
echo "Arguments --typescript, --eslint, or --prettier required."
exit 1
fi
done