Change default error message

This commit is contained in:
anseki 2016-02-06 13:47:10 +09:00
parent e320f77429
commit 7b59655a9a
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ var
ALGORITHM_CIPHER = 'aes-256-cbc', ALGORITHM_CIPHER = 'aes-256-cbc',
ALGORITHM_HASH = 'sha256', ALGORITHM_HASH = 'sha256',
DEFAULT_ERR_MSG = 'The platform doesn\'t support interactive reading', DEFAULT_ERR_MSG = 'The current environment doesn\'t support interactive reading from TTY.',
fs = require('fs'), fs = require('fs'),
TTY = process.binding('tty_wrap').TTY, TTY = process.binding('tty_wrap').TTY,

View file

@ -1,6 +1,6 @@
{ {
"name": "readline-sync", "name": "readline-sync",
"version": "1.3.0", "version": "1.3.1",
"title": "readlineSync", "title": "readlineSync",
"description": "Synchronous Readline for interactively running to have a conversation with the user via a console(TTY).", "description": "Synchronous Readline for interactively running to have a conversation with the user via a console(TTY).",
"keywords": [ "keywords": [