Merge branch 'patch-1' of https://github.com/Grahack/readline-sync into pull-request-master

Conflicts:
	lib/readline-sync.js

Typo about platform not supporting
This commit is contained in:
anseki 2014-05-13 21:27:25 +09:00
commit f4dc86f23f

View file

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