Skip to content

Commit 9c6045f

Browse files
committed
errors, readline: avoid contraction in error message
1 parent 88b663f commit 9c6045f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/errors.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,6 @@ found [here][online].
559559
encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()`
560560
was not properly called.
561561

562-
563562
<a id="nodejs-error-codes"></a>
564563
## Node.js Error Codes
565564

lib/internal/errors.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ E('ERR_INDEX_OUT_OF_RANGE', 'Index out of range');
124124
E('ERR_INVALID_ARG_TYPE', invalidArgType);
125125
E('ERR_INVALID_CALLBACK', 'callback must be a function');
126126
E('ERR_INVALID_FD', (fd) => `"fd" must be a positive integer: ${fd}`);
127-
E('ERR_INVALID_CURSOR_POS', 'Can\'t set cursor row without setting its column');
127+
E('ERR_INVALID_CURSOR_POS',
128+
'Cannot set cursor row without setting its column');
128129
E('ERR_INVALID_FILE_URL_HOST', 'File URL host %s');
129130
E('ERR_INVALID_FILE_URL_PATH', 'File URL path %s');
130131
E('ERR_INVALID_HANDLE_TYPE', 'This handle type cannot be sent');

0 commit comments

Comments
 (0)