Commit f236b3a
lib,doc: return boolean from child.send()
The documentation indicates that child.send() returns a boolean but it
has returned undefinined at since v0.12.0. It now returns a boolean per
the (slightly updated) documentation.
PR-URL: #3516
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent b8cea49 commit f236b3aCopy full SHA for f236b3a
File tree
Expand file treeCollapse file tree
3 files changed
+15
-5
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- test/parallel
Expand file treeCollapse file tree
3 files changed
+15
-5
lines changedOpen diff view settings
Collapse file
doc/api/child_process.markdown
Copy file name to clipboardExpand all lines: doc/api/child_process.markdown+3-2Lines changed: 3 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
266 | 266 | |
267 | 267 | |
268 | 268 | |
269 | | - |
| 269 | + |
270 | 270 | |
271 | | - |
| 271 | + |
| 272 | + |
272 | 273 | |
273 | 274 | |
274 | 275 | |
|
Collapse file
lib/internal/child_process.js
Copy file name to clipboardExpand all lines: lib/internal/child_process.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
504 | 504 | |
505 | 505 | |
506 | 506 | |
507 | | - |
508 | | - |
| 507 | + |
509 | 508 | |
510 | 509 | |
511 | 510 | |
512 | 511 | |
513 | 512 | |
514 | 513 | |
515 | 514 | |
| 515 | + |
516 | 516 | |
517 | 517 | |
518 | 518 | |
| ||
577 | 577 | |
578 | 578 | |
579 | 579 | |
580 | | - |
| 580 | + |
581 | 581 | |
582 | 582 | |
583 | 583 | |
|
Collapse file
test/parallel/test-child-process-send-returns-boolean.js
Copy file name to clipboard+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
0 commit comments