From 0c9ee330729014c90528fd2d55ac251250ba8224 Mon Sep 17 00:00:00 2001 From: anseki Date: Fri, 24 Apr 2015 19:55:10 +0900 Subject: [PATCH] Fix: some sample codes --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 021b320..429af30 100644 --- a/README.md +++ b/README.md @@ -785,13 +785,13 @@ For example: ```js sourceFile = readlineSync.questionPath('Read from :', { - isFile: true, - exists: true + isFile: true }); console.log('-- sourceFile: ' + sourceFile); saveDir = readlineSync.questionPath('Save to :', { isDirectory: true, + exists: null, create: true }); console.log('-- saveDir: ' + saveDir); diff --git a/package.json b/package.json index deb0ebd..678ca12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "readline-sync", - "version": "1.2.9", + "version": "1.2.10", "title": "readlineSync", "description": "Synchronous Readline for interactively running to have a conversation with the user via a console(TTY).", "keywords": [