Skip to content

Commit 0645c3d

Browse files
princejwesleycjihrig
authored andcommitted
doc: align breakEvalOnSigint - repl option
PR-URL: #7849 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: JungMinu - Minwoo Jung <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 14a0c31 commit 0645c3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/repl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,9 @@ added: v0.1.91
392392
equivalent to prefacing every repl statement with `'use strict'`.
393393
* `repl.REPL_MODE_MAGIC` - attempt to evaluates expressions in default
394394
mode. If expressions fail to parse, re-try in strict mode.
395-
* `breakEvalOnSigint` - Stop evaluating the current piece of code when
396-
`SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together
397-
with a custom `eval` function. Defaults to `false`.
395+
* `breakEvalOnSigint` - Stop evaluating the current piece of code when
396+
`SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together
397+
with a custom `eval` function. Defaults to `false`.
398398

399399
The `repl.start()` method creates and starts a `repl.REPLServer` instance.
400400

0 commit comments

Comments
 (0)