mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
inherit exit status from function
This commit is contained in:
parent
5b406198ae
commit
672b769cc1
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue