diff --git a/lib/readline-sync.js b/lib/readline-sync.js index 67e8110..7fd10c0 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 don\'t support interactively reading from stdin'); + err = new Error('The platform doesn\'t support interactively reading from stdin'); err.errno = e.errno; err.code = e.code; }