Commit 3e9288e
doc: fix exec example in child_process
Previously, the example was checking for error by strict equality to
null. The error could be undefined though which would fail that check.
PR-URL: #6660
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Jeremy Whitlock <jwhitlock@apache.org>1 parent 8b396e3 commit 3e9288eCopy full SHA for 3e9288e
File tree
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Collapse file
doc/api/child_process.markdown
Copy file name to clipboardExpand all lines: doc/api/child_process.markdown+7-7Lines changed: 7 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
139 | 139 | |
140 | 140 | |
141 | 141 | |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
149 | 149 | |
150 | 150 | |
151 | 151 | |
|
0 commit comments