vben
2021-02-09 2b466eaf9a87233eeb906c2c46b5a0cd7fc9f99a
提交 | 用户 | 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