This commit is contained in:
Andras Bacsai
2024-09-23 20:45:42 +02:00
parent 2841675691
commit fac4a8aaf9
2 changed files with 12 additions and 1 deletions

7
hooks/pre-commit Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
# Detect whether /dev/tty is available & functional
if sh -c ": >/dev/tty" >/dev/null 2>/dev/null; then
exec < /dev/tty
fi
$(pwd)/vendor/bin/pint