diff --git a/lib/repl.js b/lib/repl.js index f526dffcf7e5a0..26376a43c56d66 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -225,13 +225,13 @@ function REPLServer(prompt, ObjectDefineProperty(this, 'inputStream', { get: pendingDeprecation ? deprecate(() => this.input, - 'repl.inputStream and repl.outputStream is deprecated. ' + + 'repl.inputStream and repl.outputStream are deprecated. ' + 'Use repl.input and repl.output instead', 'DEP0141') : () => this.input, set: pendingDeprecation ? deprecate((val) => this.input = val, - 'repl.inputStream and repl.outputStream is deprecated. ' + + 'repl.inputStream and repl.outputStream are deprecated. ' + 'Use repl.input and repl.output instead', 'DEP0141') : (val) => this.input = val, @@ -241,13 +241,13 @@ function REPLServer(prompt, ObjectDefineProperty(this, 'outputStream', { get: pendingDeprecation ? deprecate(() => this.output, - 'repl.inputStream and repl.outputStream is deprecated. ' + + 'repl.inputStream and repl.outputStream are deprecated. ' + 'Use repl.input and repl.output instead', 'DEP0141') : () => this.output, set: pendingDeprecation ? deprecate((val) => this.output = val, - 'repl.inputStream and repl.outputStream is deprecated. ' + + 'repl.inputStream and repl.outputStream are deprecated. ' + 'Use repl.input and repl.output instead', 'DEP0141') : (val) => this.output = val, diff --git a/test/parallel/test-repl-options.js b/test/parallel/test-repl-options.js index cb7b2f08b65468..ca3cf2a3a4b3af 100644 --- a/test/parallel/test-repl-options.js +++ b/test/parallel/test-repl-options.js @@ -35,7 +35,7 @@ common.expectWarning({ DeprecationWarning: { DEP0142: 'repl._builtinLibs is deprecated. Check module.builtinModules instead', - DEP0141: 'repl.inputStream and repl.outputStream is deprecated. ' + + DEP0141: 'repl.inputStream and repl.outputStream are deprecated. ' + 'Use repl.input and repl.output instead', DEP0124: 'REPLServer.rli is deprecated', }