Fixed warning in pre-commit.sh