-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
using process.exitCode instead of process.exit() #2717
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2717 +/- ##
=======================================
Coverage 35.51% 35.51%
=======================================
Files 434 434
Lines 9501 9501
Branches 986 1009 +23
=======================================
Hits 3374 3374
+ Misses 5467 5459 -8
- Partials 660 668 +8
Continue to review full report at Codecov.
|
Thank you for this PR, Looks good. Can you teach my why the issue occurred and why this fixes it? |
I'm intrigued as well. Docs actually say that using |
I'm not too sure, but I noticed that calling |
If there's some async process running, event loop won't be done until the process is finished. Did you check if your fix is working? |
I've checked that the fix works in my current project. |
So I've actually hit this problem now on an other library. I'm ready to approve this. |
This PR should fix issue #2716