Skip to content

Commit b20e6ed

Browse files
TrottMylesBorins
authored andcommitted
repl: fix verb conjugation in deprecation message
PR-URL: #34198 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ed0f569 commit b20e6ed

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/repl.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,13 +225,13 @@ function REPLServer(prompt,
225225
ObjectDefineProperty(this, 'inputStream', {
226226
get: pendingDeprecation ?
227227
deprecate(() => this.input,
228-
'repl.inputStream and repl.outputStream is deprecated. ' +
228+
'repl.inputStream and repl.outputStream are deprecated. ' +
229229
'Use repl.input and repl.output instead',
230230
'DEP0141') :
231231
() => this.input,
232232
set: pendingDeprecation ?
233233
deprecate((val) => this.input = val,
234-
'repl.inputStream and repl.outputStream is deprecated. ' +
234+
'repl.inputStream and repl.outputStream are deprecated. ' +
235235
'Use repl.input and repl.output instead',
236236
'DEP0141') :
237237
(val) => this.input = val,
@@ -241,13 +241,13 @@ function REPLServer(prompt,
241241
ObjectDefineProperty(this, 'outputStream', {
242242
get: pendingDeprecation ?
243243
deprecate(() => this.output,
244-
'repl.inputStream and repl.outputStream is deprecated. ' +
244+
'repl.inputStream and repl.outputStream are deprecated. ' +
245245
'Use repl.input and repl.output instead',
246246
'DEP0141') :
247247
() => this.output,
248248
set: pendingDeprecation ?
249249
deprecate((val) => this.output = val,
250-
'repl.inputStream and repl.outputStream is deprecated. ' +
250+
'repl.inputStream and repl.outputStream are deprecated. ' +
251251
'Use repl.input and repl.output instead',
252252
'DEP0141') :
253253
(val) => this.output = val,

test/parallel/test-repl-options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ common.expectWarning({
3535
DeprecationWarning: {
3636
DEP0142:
3737
'repl._builtinLibs is deprecated. Check module.builtinModules instead',
38-
DEP0141: 'repl.inputStream and repl.outputStream is deprecated. ' +
38+
DEP0141: 'repl.inputStream and repl.outputStream are deprecated. ' +
3939
'Use repl.input and repl.output instead',
4040
DEP0124: 'REPLServer.rli is deprecated',
4141
}

0 commit comments

Comments
 (0)