Skip to content

Conversation

@ledenis
Copy link
Contributor

@ledenis ledenis commented Dec 1, 2019

Fix #1006
Refactor because process.exit is not recommended
https://stackoverflow.com/questions/5266152/how-to-exit-in-node-js/37592669#37592669
Also added a test to check exit code

Copy link
Owner

@garris garris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah -- this looks like it will work. I remember there used to be a problem with the process hanging in some cases -- so I just want to keep an eye out for any regressions here.

Thanks for the PR!

@garris garris merged commit 8d5f13d into garris:master Dec 3, 2019
@ledenis
Copy link
Contributor Author

ledenis commented Dec 4, 2019

Ok, nice!

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

Successfully merging this pull request may close these issues.

Travis build passes, but a test fails

2 participants