We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ea25d2 commit f2b01cbCopy full SHA for f2b01cb
lib/internal/child_process.js
@@ -599,7 +599,7 @@ function setupChannel(target, channel) {
599
if (typeof callback === 'function') {
600
process.nextTick(callback, ex);
601
} else {
602
- this.emit('error', ex); // FIXME(bnoordhuis) Defer to next tick.
+ process.nextTick(() => this.emit('error', ex));
603
}
604
return false;
605
};
@@ -713,7 +713,7 @@ function setupChannel(target, channel) {
713
714
715
716
717
718
719
0 commit comments