diff --git a/index.js b/index.js index d39ef20..f3e7479 100755 --- a/index.js +++ b/index.js @@ -82,7 +82,7 @@ function printHelp() { type: shouldOverwrite => { if (shouldOverwrite === false) { console.log(red('✖') + ' 操作取消~~') - process.exit(1) + process.exit() } return null } @@ -93,7 +93,7 @@ function printHelp() { if (res.projectName === undefined) { console.log('已取消操作~~') - process.exit(1) + process.exit() } if (res.projectName === '.') { diff --git a/package.json b/package.json index 6af6e25..d819c36 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "create-five", "description": "一个快速创建Five.js项目的小工具", "type": "module", - "version": "1.0.3", + "version": "1.1.0", "author": "yutent ", "bin": { "create-five": "index.js"