summaryrefslogtreecommitdiff
path: root/doc/api/process.md
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-10-02 00:31:57 -0400
committerRich Trott <rtrott@gmail.com>2019-10-03 22:57:33 -0700
commit24011de9071fcd092fab29719d3fa8269a95288a (patch)
tree47241142f5cc13c3dbf3f6bf1fdd94984b732edd /doc/api/process.md
parent24d43ca1b1d65c95f22a14197350e0803adf918b (diff)
downloadandroid-node-v8-24011de9071fcd092fab29719d3fa8269a95288a.tar.gz
android-node-v8-24011de9071fcd092fab29719d3fa8269a95288a.tar.bz2
android-node-v8-24011de9071fcd092fab29719d3fa8269a95288a.zip
doc: add explicit bracket for markdown reference links
Use explicit trailing `[]` for reference markdown links to prevent implicit links when references are added to documents. PR-URL: https://github.com/nodejs/node/pull/29808 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/process.md')
-rw-r--r--doc/api/process.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index 2918c21bf7..0ea80c6e33 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -80,7 +80,7 @@ all `'exit'` listeners have finished running the Node.js process will terminate.
The listener callback function is invoked with the exit code specified either
by the [`process.exitCode`][] property, or the `exitCode` argument passed to the
-[`process.exit()`] method.
+[`process.exit()`][] method.
```js
process.on('exit', (code) => {
@@ -570,8 +570,8 @@ added: v0.1.27
The `process.argv` property returns an array containing the command line
arguments passed when the Node.js process was launched. The first element will
-be [`process.execPath`]. See `process.argv0` if access to the original value of
-`argv[0]` is needed. The second element will be the path to the JavaScript
+be [`process.execPath`][]. See `process.argv0` if access to the original value
+of `argv[0]` is needed. The second element will be the path to the JavaScript
file being executed. The remaining elements will be any additional command line
arguments.
@@ -1122,7 +1122,7 @@ added: v0.1.13
The `process.exit()` method instructs Node.js to terminate the process
synchronously with an exit status of `code`. If `code` is omitted, exit uses
either the 'success' code `0` or the value of `process.exitCode` if it has been
-set. Node.js will not terminate until all the [`'exit'`] event listeners are
+set. Node.js will not terminate until all the [`'exit'`][] event listeners are
called.
To exit with a 'failure' code:
@@ -1506,7 +1506,7 @@ changes:
fully drained after the current operation on the JavaScript stack runs to
completion and before the event loop is allowed to continue. It's possible to
create an infinite loop if one were to recursively call `process.nextTick()`.
-See the [Event Loop] guide for more background.
+See the [Event Loop][] guide for more background.
```js
console.log('start');