Skip to content

Commit ddc191a

Browse files
committed
Fixup process stream patch
nodejs/node#30862
1 parent 6e42225 commit ddc191a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

patches/node/call_process_log_from_fallback_stream_on_windows.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Subject: Call process.log from fallback stream on Windows
55

66
(cherry picked from commit d31e629b4f2daf3500a485caab2b2990a41e3ad4)
77

8-
diff --git a/lib/internal/process/stdio.js b/lib/internal/process/stdio.js
9-
index 2491f14cdf01409e4625d6793279ef87dbcc6942..54d3fb23dc1b51fec206e8989e4873d95884583f 100644
10-
--- a/lib/internal/process/stdio.js
11-
+++ b/lib/internal/process/stdio.js
12-
@@ -192,6 +192,11 @@ function createWritableStdioStream(fd) {
8+
diff --git a/lib/internal/bootstrap/switches/is_main_thread.js b/lib/internal/bootstrap/switches/is_main_thread.js
9+
index ac8336fb6229e7f44eb00f43abb07bea83a9463c..2005e8ef9ebd090c1be19ff320f48b9cd365239e 100644
10+
--- a/lib/internal/bootstrap/switches/is_main_thread.js
11+
+++ b/lib/internal/bootstrap/switches/is_main_thread.js
12+
@@ -80,6 +80,11 @@ function createWritableStdioStream(fd) {
1313
const { Writable } = require('stream');
1414
stream = new Writable({
1515
write(buf, enc, cb) {

0 commit comments

Comments
 (0)