diff --git a/lib/repl.js b/lib/repl.js index ef1c6ee553bdea..ffb232fe3d8d63 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -638,7 +638,6 @@ function REPLServer(prompt, self.outputStream.write('npm should be run outside of the ' + 'node repl, in your normal shell.\n' + '(Press Control-D to exit.)\n'); - self.clearBufferedCommand(); self.displayPrompt(); return; }