From c40875ee13d8bab0b909e917a12282b06b892037 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 23 Jun 2012 02:29:36 +0200 Subject: [PATCH] repl: fix buffer clearing after npm command --- lib/repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }