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>
pull/35558/head
Rich Trott 2020-10-08 04:08:57 -07:00
parent dabc6ddddc
commit 91f0544889
1 changed files with 2 additions and 2 deletions

View File

@ -1911,8 +1911,8 @@ An attempt was made to `require()` an [ES Module][].
<a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a> <a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a>
### `ERR_SCRIPT_EXECUTION_INTERRUPTED` ### `ERR_SCRIPT_EXECUTION_INTERRUPTED`
Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was Script execution was interrupted by `SIGINT` (For example,
pressed). <kbd>Ctrl</kbd>+<kbd>C</kbd> was pressed.)
<a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a> <a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a>
### `ERR_SCRIPT_EXECUTION_TIMEOUT` ### `ERR_SCRIPT_EXECUTION_TIMEOUT`