From 2e39f0bc985924cbae205b77d2b03ecaf83ab98d Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Sat, 4 Mar 2023 12:25:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/config.js b/utils/config.js index 95b014c..35fd720 100644 --- a/utils/config.js +++ b/utils/config.js @@ -38,7 +38,7 @@ const defaultConfig = { debug: true, defaultTimeoutMs: 120000, chromeTimeoutMS: 120000, - version: 'v2.0.14' + version: 'v2.0.15' } const _path = process.cwd() let config = {} @@ -83,6 +83,7 @@ if (fs.existsSync(`${_path}/plugins/chatgpt-plugin/config/config.json`)) { } } config = Object.assign({}, defaultConfig, config) +config.version = defaultConfig.version // const latestTag = execSync(`cd ${_path}/plugins/chatgpt-plugin && git describe --tags --abbrev=0`).toString().trim() // config.version = latestTag