mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
[debugger] use newly added eval argument for REPLServer
This commit is contained in:
1 parent
0d4dc3a8b5
commit
77eb8eabe2
1 file changed
+2
-2
+2
-2
@@ -640,8 +640,8 @@ function Interface() {
|
||||
self.killChild();
|
||||
});
|
||||
|
||||
this.repl = new repl.REPLServer('debug> ');
|
||||
this.repl.eval = this.controlEval.bind(this);
|
||||
this.repl = new repl.REPLServer('debug> ', null,
|
||||
this.controlEval.bind(this));
|
||||
|
||||
// Lift all instance methods to repl context
|
||||
var proto = Interface.prototype,
|
||||
|
||||
Reference in new issue
Block a user