wireguard-dashboard/web-src/.husky/common.sh
coward 6d4f4b2e02
Some checks failed
continuous-integration/drone/tag Build is failing
🎨合并编译打包
2024-06-04 09:55:48 +08:00

10 lines
179 B
Bash

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