Skip to content

Commit

Permalink
add: 创建目录后退出exit 0
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfpp committed Apr 5, 2020
1 parent 833d280 commit 7fa2c8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: wangfpp
* @Date: 2019-11-07 18:31:24
* @Last Modified by: wangfpp
* @Last Modified time: 2019-11-12 17:48:27
* @Last Modified time: 2020-04-05 17:55:05
*/
const inquirer = require('inquirer');
const fs = require("fs");
Expand Down Expand Up @@ -71,6 +71,7 @@ module.exports = async function(app) {
}
} else {
await mkdirfn(dir, repo, true);
process.exit(0)
}
})
}
Expand Down

0 comments on commit 7fa2c8b

Please sign in to comment.