Skip to content

Commit c5fa07a

Browse files
Xstoudilpinca
andauthored
Apply suggestions from code review
Co-authored-by: Luigi Pinca <[email protected]>
1 parent aef5630 commit c5fa07a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

doc/api/readline.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,7 @@ added: v16.0.0
110110

111111
The `'error'` event is emitted when an error occurs on the `input` stream associated with the `readline` `Interface`.
112112

113-
The listener function is called with an Error object passed as the single argument.
114-
115-
If no `'error'` event handler is attached to the `InterfaceConstructor` instance,
116-
errors will be thrown as unhandled error events, which may crash the process.
113+
The listener function is called with an `Error` object passed as the single argument.
117114

118115
### Event: `'line'`
119116

0 commit comments

Comments
 (0)