diff options
author | Rich Trott <rtrott@gmail.com> | 2020-10-08 14:08:57 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@github.com> | 2020-10-14 23:21:22 +0300 |
commit | c865b02397ff257f6ffc4e0ab377e2adcf3629ba (patch) | |
tree | 620b1a8847b7502d234a1e1edb4a6cf0932d7cba /doc | |
parent | 6ff152cc671d05dc3871b348f7737a4cf963182f (diff) |
doc: improve SIGINT error text
* add kbd elements
* correct period/parenthesis order
* make fragment a full sentence
PR-URL: https://github.com/nodejs/node/pull/35558
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index 7e356f10013..79a5ac279de 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1740,8 +1740,8 @@ An attempt was made to `require()` an [ES Module][]. <a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a> ### `ERR_SCRIPT_EXECUTION_INTERRUPTED` -Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was -pressed). +Script execution was interrupted by `SIGINT` (For example, +<kbd>Ctrl</kbd>+<kbd>C</kbd> was pressed.) <a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a> ### `ERR_SCRIPT_EXECUTION_TIMEOUT` |