wupengfei
8 天以前 d9b4a5767e8a5f02bd1f4662ca68a0ce4dc8b9e0
1
2
3
4
5
6
7
8
9
#!/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