blob: 2cd2792583b26e1a9b1d98aac57cb86a50d7dd68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
if ! command -v node &> /dev/null
then
echo "'node' not found in PATH, please install NodeJS."
exit
fi
x_run () {
node index.js
if [[ $? -eq 14 ]]; then
x_run
fi
}
x_run
|