From d4fe48f4c9cb74c1e77918237c6cb83517f8a190 Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 5 Jan 2023 17:19:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"