Fix: old error message

This commit is contained in:
anseki 2015-04-24 21:12:40 +09:00
parent d7fa21e891
commit f01fbf9946
2 changed files with 2 additions and 1 deletions

View file

@ -945,6 +945,7 @@ exports.questionPath = function(query, options) {
limit: function(value) { limit: function(value) {
var exists, stat, res; var exists, stat, res;
value = replaceHomePath(value, true); value = replaceHomePath(value, true);
error = ''; // for validate
// mkdir -p // mkdir -p
function mkdirParents(dirPath) { function mkdirParents(dirPath) {
dirPath.split(/\/|\\/).reduce(function(parents, dir) { dirPath.split(/\/|\\/).reduce(function(parents, dir) {

View file

@ -1,6 +1,6 @@
{ {
"name": "readline-sync", "name": "readline-sync",
"version": "1.2.11", "version": "1.2.12",
"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": [