Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
repl: fix repl.start not passing the ignoreUndefined arg to the REP…
Browse files Browse the repository at this point in the history
…LServer constructor
  • Loading branch information
Damon Oehlman authored and bnoordhuis committed Dec 29, 2011
1 parent 8c3a757 commit 744ed46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/repl.js
Expand Up @@ -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;
};
Expand Down

0 comments on commit 744ed46

Please sign in to comment.