Merge branch 'pull-request-master'
This commit is contained in:
commit
a108b7f9fd
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 === '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 doesn\'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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue