mirror of https://github.com/nodejs/node.git
make it possible to do repl.start('', stream)
parent
90802d628d
commit
d00739ce56
|
@ -93,7 +93,7 @@ function REPLServer(prompt, stream) {
|
||||||
process.stdin.resume();
|
process.stdin.resume();
|
||||||
}
|
}
|
||||||
|
|
||||||
self.prompt = prompt || '> ';
|
self.prompt = (prompt != undefined ? prompt : '> ');
|
||||||
|
|
||||||
function complete(text) {
|
function complete(text) {
|
||||||
return self.complete(text);
|
return self.complete(text);
|
||||||
|
|
Loading…
Reference in New Issue