1 parent 19f475c commit e97a481Copy full SHA for e97a481
1 file changed
lib/repl.js
@@ -111,7 +111,7 @@ REPLServer.prototype.parseREPLKeyword = function (cmd) {
111
self.displayPrompt();
112
return true;
113
case ".exit":
114
- self.stream.end();
+ self.stream.destroy();
115
116
case ".help":
117
self.stream.write(".break\tSometimes you get stuck in a place you can't get out... This will get you out.\n");
0 commit comments