coolify/hooks/pre-commit

8 lines
161 B
Text
Raw Normal View History

2024-09-23 18:45:42 +00:00
#!/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