Fix: typo in message

This commit is contained in:
anseki 2014-03-12 14:20:49 +09:00
parent 7bcbbe3ef8
commit c7a6354a64

View file

@ -31,7 +31,7 @@ var _readlineSync = function(display) {
if (e.code === 'EOF') { break; } // pipe if (e.code === 'EOF') { break; } // pipe
if (e.code === 'EAGAIN') { // EAGAIN, resource temporarily unavailable if (e.code === 'EAGAIN') { // EAGAIN, resource temporarily unavailable
// util can't inherit Error. // util can't inherit Error.
err = new Error('The platform don\'t support interactively reading from stdin'); err = new Error('The platform doesn\'t support interactively reading from stdin');
err.errno = e.errno; err.errno = e.errno;
err.code = e.code; err.code = e.code;
} }