From 7b59655a9a865472081634580eb6e8becc8f32c0 Mon Sep 17 00:00:00 2001 From: anseki Date: Sat, 6 Feb 2016 13:47:10 +0900 Subject: [PATCH] Change default error message --- lib/readline-sync.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/readline-sync.js b/lib/readline-sync.js index 587e81f..d6d3741 100644 --- a/lib/readline-sync.js +++ b/lib/readline-sync.js @@ -13,7 +13,7 @@ var ALGORITHM_CIPHER = 'aes-256-cbc', 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'), TTY = process.binding('tty_wrap').TTY, diff --git a/package.json b/package.json index b678851..cbab78e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "readline-sync", - "version": "1.3.0", + "version": "1.3.1", "title": "readlineSync", "description": "Synchronous Readline for interactively running to have a conversation with the user via a console(TTY).", "keywords": [