surge icon indicating copy to clipboard operation
surge copied to clipboard

Should exit with non-zero status if not configured

Open salomvary opened this issue 8 years ago • 2 comments

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

salomvary avatar Oct 24 '17 16:10 salomvary

Somebody should fix this.

buckle2000 avatar Oct 10 '18 02:10 buckle2000

Need this!!

prashant-shahi avatar Jan 16 '20 10:01 prashant-shahi