Skip to content

Commit

Permalink
doc: improve SIGINT error text
Browse files Browse the repository at this point in the history
* add kbd elements
* correct period/parenthesis order
* make fragment a full sentence

PR-URL: nodejs#35558
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
  • Loading branch information
Trott authored and joesepi committed Oct 22, 2020
1 parent 2d2905a commit 84f3768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1911,8 +1911,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`
Expand Down

0 comments on commit 84f3768

Please sign in to comment.