hooks?
This commit is contained in:
7
hooks/pre-commit
Normal file
7
hooks/pre-commit
Normal 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
|
||||
Reference in New Issue
Block a user