From 744ed46970ad2acd25b7e8539578b856ec35383a Mon Sep 17 00:00:00 2001 From: Damon Oehlman Date: Thu, 29 Dec 2011 12:15:49 +1000 Subject: [PATCH] repl: fix repl.start not passing the `ignoreUndefined` arg to the REPLServer constructor --- lib/repl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/repl.js b/lib/repl.js index 3a5ac4346e7..7cfbf0e878d 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -247,8 +247,8 @@ exports.REPLServer = REPLServer; // prompt is a string to print on each line for the prompt, // source is a stream to use for I/O, defaulting to stdin/stdout. -exports.start = function(prompt, source, eval, useGlobal) { - var repl = new REPLServer(prompt, source, eval, useGlobal); +exports.start = function(prompt, source, eval, useGlobal, ignoreUndefined) { + var repl = new REPLServer(prompt, source, eval, useGlobal, ignoreUndefined); if (!exports.repl) exports.repl = repl; return repl; };