Fix bad pre-commit installation

closes #6713
This commit is contained in:
Matthias 2022-04-23 17:05:41 +02:00
parent 0807d3106f
commit 2d07cbce59

View File

@ -90,7 +90,7 @@ function updateenv() {
echo "pip install completed" echo "pip install completed"
echo echo
if [[ $dev =~ ^[Yy]$ ]]; then if [[ $dev =~ ^[Yy]$ ]]; then
${PYTHON} -m pre-commit install ${PYTHON} -m pre_commit install
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Failed installing pre-commit" echo "Failed installing pre-commit"
exit 1 exit 1