diff --git a/lib/repl.js b/lib/repl.js index 4eac059e38..c3719ef54e 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -285,7 +285,7 @@ function REPLServer(prompt, stream, eval, useGlobal, ignoreUndefined) { self.outputStream.write('npm should be run outside of the ' + 'node repl, in your normal shell.\n' + '(Press Control-D to exit.)\n'); - self.bufferedCmd = ''; + self.bufferedCommand = ''; self.displayPrompt(); return; }