zhengyiming
2025-02-17 60f6ec87b85f4b57c656a769c30466db290cbd0b
1
2
3
4
5
6
7
8
9
#!/bin/sh
command_exists () {
  command -"$1" >/dev/null 2>&1
}
 
# Workaround for Windows 10, Git Bash and Pnpm
if command_exists winpty && test -1; then
  exec < /dev/tty
fi