Fix commit hook
This commit is contained in:
parent
878bfc3f6c
commit
90381aec54
|
@ -5,13 +5,15 @@ if ! npm run lint
|
||||||
then
|
then
|
||||||
echo "Frontend lint failed"
|
echo "Frontend lint failed"
|
||||||
exit 1
|
exit 1
|
||||||
failed
|
fi
|
||||||
|
cd ..
|
||||||
|
|
||||||
cd backend
|
cd backend/src
|
||||||
if ! composer run-script lint
|
if ! composer run-script lint
|
||||||
then
|
then
|
||||||
echo "Backend lint failed"
|
echo "Backend lint failed"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
cd ..
|
||||||
|
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in a new issue