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:
commit
f4dc86f23f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue