Files
coolify/hooks/pre-commit
Andras Bacsai 46a7937761 test
2024-09-23 20:54:56 +02:00

9 lines
181 B
Bash

#!/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 $files -q
git add .