Adding a line to show that a local script is running
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
if [ -d precommit-hooks ]; then
|
||||
for script in `find precommit-hooks -type f`; do
|
||||
echo Running "$script"
|
||||
if ! bash "$script"; then
|
||||
echo "Local script $script failed checks."
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user