From c7a6354a645c524a57fe9f5ef927d24651266025 Mon Sep 17 00:00:00 2001 From: anseki Date: Wed, 12 Mar 2014 14:20:49 +0900 Subject: [PATCH] Fix: typo in message --- lib/readline-sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }