Skip to content

Commit c865b02

Browse files
TrottMylesBorins
authored andcommitted
doc: improve SIGINT error text
* add kbd elements * correct period/parenthesis order * make fragment a full sentence PR-URL: #35558 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
1 parent 6ff152c commit c865b02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/errors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1740,8 +1740,8 @@ An attempt was made to `require()` an [ES Module][].
17401740
<a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a>
17411741
### `ERR_SCRIPT_EXECUTION_INTERRUPTED`
17421742

1743-
Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was
1744-
pressed).
1743+
Script execution was interrupted by `SIGINT` (For example,
1744+
<kbd>Ctrl</kbd>+<kbd>C</kbd> was pressed.)
17451745

17461746
<a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a>
17471747
### `ERR_SCRIPT_EXECUTION_TIMEOUT`

0 commit comments

Comments
 (0)