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