surge
surge copied to clipboard
Should exit with non-zero status if not configured
When surge is executed in non-interactive mode (eg. from a CI) and is not properly configured, it exits with zero status suggesting everything went well.
Expected: it should exit with non-zero status signalling a failure.
Version: 0.19.0
Steps to reproduce:
$ echo "" | surge --project .
Welcome to Surge! (surge.sh)
Please login or create an account by entering your email and password:
email:
$ echo $?
0
Somebody should fix this.
Need this!!