Closed nfischer closed 6 years ago
@freitagbr I got my lorem ipsum from https://www.lipsum.com/ (it maxes out at 10k words, but that's enough to repro the bug when reverting the original fix).
Merging #123 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #123 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 3 3
Lines 22 22
=====================================
Hits 22 22
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update bc803b7...4a04057. Read the comment docs.
@freitagbr ping
Issue #85 Fixes #116
This is a follow-up to the initial PR. This favors
process.exitCode
overprocess.exit()
to guarantee that we don't terminate while streams are still open.This should have no effect on behavior, this is just a cleaner fix over the previous hack.
Test: manually verify with
shx cat input.txt | wc
(input.txt
is Lorem ipsum)