Commit 48bbdde6 authored by Nathan Rajlich's avatar Nathan Rajlich
Browse files

repl: don't write a newline on the readline 'end' event

In the case of the input stream *actually* having been closed, then we
can't write to a closed socket.

Fixes test/simple/test-repl.js
parent eb1ff034
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment