Commit 63d361b
doc: fix documentation of process.argv
The current documentation states that if run something like
`node app.js` then in our process.argv array first elements is `node`,
but actually it's `process.execPath` not `node`
as documentation currently suggests.
Fixes: #7434
PR-URL: #7449
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent c132e9c commit 63d361bCopy full SHA for 63d361b
File tree
Expand file treeCollapse file tree
1 file changed
+6
-4
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+6
-4
lines changedOpen diff view settings
Collapse file
+6-4Lines changed: 6 additions & 4 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
450 | 450 | |
451 | 451 | |
452 | 452 | |
453 | | - |
| 453 | + |
454 | 454 | |
455 | | - |
456 | | - |
| 455 | + |
| 456 | + |
| 457 | + |
457 | 458 | |
458 | 459 | |
459 | 460 | |
| ||
473 | 474 | |
474 | 475 | |
475 | 476 | |
476 | | - |
| 477 | + |
477 | 478 | |
478 | 479 | |
479 | 480 | |
| ||
1663 | 1664 | |
1664 | 1665 | |
1665 | 1666 | |
| 1667 | + |
1666 | 1668 | |
1667 | 1669 | |
1668 | 1670 | |
|
0 commit comments