Fix commit hook

This commit is contained in:
Lukas Metzger 2018-03-23 16:37:11 +01:00
parent 878bfc3f6c
commit 90381aec54

View file

@ -5,13 +5,15 @@ if ! npm run lint
then
echo "Frontend lint failed"
exit 1
failed
fi
cd ..
cd backend
cd backend/src
if ! composer run-script lint
then
echo "Backend lint failed"
exit 2
fi
cd ..
exit 0