pre-commit-hooks/bin/ameba.sh
2023-06-16 17:11:37 -03:00

10 lines
125 B
Bash
Executable File

#!/bin/sh
if command -q ameba != 0; then
echo "Ameba needs to be installed"
exit 1
fi
ameba --all --fix "$@"
exit $?