From ddd339ff45eef2d8c5b43ac62c35ebda96941988 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 5 Aug 2020 22:19:11 -0700 Subject: [PATCH] repl: use _Node.js_ in user-facing REPL text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use _node (REPL)_ in one place and _Node.js (REPL)_ in another place in error messages in repl.js. Use _Node.js_ in both places. PR-URL: https://github.com/nodejs/node/pull/34644 Reviewed-By: Luigi Pinca Reviewed-By: Michaƫl Zasso Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- lib/repl.js | 2 +- test/parallel/test-repl.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/repl.js b/lib/repl.js index fa760df3183547..b13fece0713701 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -814,7 +814,7 @@ function REPLServer(prompt, if (e && !self[kBufferedCommandSymbol] && cmd.trim().startsWith('npm ')) { self.output.write('npm should be run outside of the ' + - 'node REPL, in your normal shell.\n' + + 'Node.js REPL, in your normal shell.\n' + '(Press Control-D to exit.)\n'); self.displayPrompt(); return; diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index ea528cf07d85be..8e3d1173b51131 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -372,7 +372,7 @@ const errorTests = [ { send: 'npm install foobar', expect: [ - 'npm should be run outside of the node REPL, in your normal shell.', + 'npm should be run outside of the Node.js REPL, in your normal shell.', '(Press Control-D to exit.)' ] },