1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

inherit exit status from function

This commit is contained in:
checktheroads
2021-01-04 00:18:23 -07:00
parent 5b406198ae
commit 672b769cc1

View File

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