diff --git a/lib/readline-sync.js b/lib/readline-sync.js index 7fd10c0..3a8ba8c 100644 --- a/lib/readline-sync.js +++ b/lib/readline-sync.js @@ -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; }