doc: fix typo on child_process.md · nodejs/node@7fb8fe4 · GitHub
Skip to content

Commit 7fb8fe4

Browse files
nglgzztargos
authored andcommitted
doc: fix typo on child_process.md
This note on `options.stdio` mentions that it's not recommended to pass `stdin` as a writable stream and `stdout/stderr` as readable, but then proceeds to say to always check that `stdin` is writable and `stdout/stderr` are readable. Going by the examples and the fact that `process.stdin` is readable and `process.stdout/process.stderr` are writable, I'm assuming that the types in the recommendation got swapped. PR-URL: #60114 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 1b25008 commit 7fb8fe4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api/child_process.md

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)