Ben Lin
2024-05-30 7e1c7ea9f47d6fe3fd669672a4bce51ec2758bc3
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