diff --git a/CHANGELOG.md b/CHANGELOG.md index 34e85b6c..061f38b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [0.13.6](https://github.com/feflow/feflow/compare/v0.13.5...v0.13.6) (2018-08-08) + + +### Bug Fixes + +* fix cod to code ([145e517](https://github.com/feflow/feflow/commit/145e517)) + + + ## [0.13.5](https://github.com/feflow/feflow/compare/v0.13.4...v0.13.5) (2018-07-04) diff --git a/lib/core/initClient.js b/lib/core/initClient.js index 1becf81d..f96dbd3e 100644 --- a/lib/core/initClient.js +++ b/lib/core/initClient.js @@ -27,7 +27,7 @@ class Client { if (!fs.existsSync(baseDir)) { log.info('检测到这是您第一次使用feflow,即将进行cli client初始化'); - fs.mkdirsSync(baseDir); + fs.ensurePathSync(baseDir); } log.debug('.feflow 目录已经创建'); diff --git a/package.json b/package.json index c9ef8c8d..34f6608f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "feflow-cli", - "version": "0.13.5", + "version": "0.13.6", "description": "A command line tool aims to improve front-end engineer workflow.", "main": "lib/index.js", "scripts": { @@ -27,7 +27,7 @@ "feflow": "./bin/feflow" }, "configs": { - "compatibleVersion": ">=0.13.4" + "compatibleVersion": ">=0.13.5" }, "dependencies": { "abbrev": "^1.1.0",