Change default error message
This commit is contained in:
parent
e320f77429
commit
7b59655a9a
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loading…
Reference in a new issue