Skip to content

Commit

Permalink
~ example
Browse files Browse the repository at this point in the history
  • Loading branch information
vantoozz committed Feb 20, 2021
1 parent 7cf050f commit 2d1a112
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ if [ $? != 0 ]; then
exit 1
fi

docker run --rm -v "$(pwd)":/opt/project "$(docker build -q -f=docker/php74.dockerfile .)" bash ./run_examples.sh
docker run --rm -v "$(pwd)":/opt/project "$(docker build -q -f=docker/php74.dockerfile .)" bash ./run_examples.sh > /dev/null
if [ $? != 0 ]; then
echo "Examples broken."
exit 1
fi

0 comments on commit 2d1a112

Please sign in to comment.