using process.exitCode instead of process.exit()#2717
using process.exitCode instead of process.exit()#2717ndelangen merged 2 commits intostorybookjs:masterfrom davidkwan95:patch-1
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