Ben Lin
2024-07-24 e5e7d8032f938f4142c05fa71fb09ff73058b740
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 Yarn
if command_exists winpty && test -t 1; then
  exec < /dev/tty
fi