Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it exits with code 0 even if argument type is wrong #2

Open
surr-name opened this issue Jun 26, 2018 · 0 comments
Open

it exits with code 0 even if argument type is wrong #2

surr-name opened this issue Jun 26, 2018 · 0 comments

Comments

@surr-name
Copy link

Should not the process ends up with non zero exit code in case of wrong argument?
For example, in this case:

node npm-delay FIVE && node sever.js

server should not be started, right?

At CI/CD scenario the argument can be an ENV, not hardcoded one:

node npm-delay $SERVER_START_DELAY && node sever.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant