Files
StableStudio/.husky/common.sh
StableStudio a65d4877ad Initial commit
2023-05-12 10:36:19 -05:00

8 lines
164 B
Bash

command_exists () {
command -v "$1" >/dev/null 2>&1
}
# Windows 10, Git Bash and Yarn workaround
if command_exists winpty && test -t 1; then
exec < /dev/tty
fi