Typo about «platform not supporting…»

BTW, I thought my platform was OK with this (Debian).
What platform support/don't support interactive reading?
This commit is contained in:
Prof Gra 2014-05-09 14:04:52 +02:00
parent 7bcbbe3ef8
commit 114fe0d359

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 interactive reading from stdin');
err.errno = e.errno; err.errno = e.errno;
err.code = e.code; err.code = e.code;
} }