Vben
2021-03-31 8a14069e71d5393cfa5b758f46a1c5c001fa172b
提交 | 用户 | age
2b466e 1 #!/bin/sh
V 2 command_exists () {
3   command -v "$1" >/dev/null 2>&1
4 }
5
6 # Workaround for Windows 10, Git Bash and Yarn
7 if command_exists winpty && test -t 1; then
8   exec < /dev/tty
9 fi