|
|
@ -398,7 +398,11 @@ function getCommand(){ |
|
|
|
if (command == "close") { |
|
|
|
if (command == "close") { |
|
|
|
rl.close(); |
|
|
|
rl.close(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
try { |
|
|
|
console.log(command, eval(command) ) |
|
|
|
console.log(command, eval(command) ) |
|
|
|
|
|
|
|
} catch (err) { |
|
|
|
|
|
|
|
console.log(err) |
|
|
|
|
|
|
|
} |
|
|
|
getCommand() |
|
|
|
getCommand() |
|
|
|
// somehow switch to node REPL proper after?!
|
|
|
|
// somehow switch to node REPL proper after?!
|
|
|
|
} |
|
|
|
} |
|
|
|