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:
parent
88a9b90e96
commit
42e2ed089e
1 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue