From dd764d704a3bcf3899e4c13fd2dfcf33a86919eb Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 30 Dec 2022 09:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=82=E5=B8=B8=E6=8A=9B?= =?UTF-8?q?=E5=87=BA=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/custom/getZip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/custom/getZip.js b/src/rest/custom/getZip.js index 0211dcb..65e6eb3 100644 --- a/src/rest/custom/getZip.js +++ b/src/rest/custom/getZip.js @@ -17,7 +17,7 @@ module.exports = { mp: 'dvcp_v2_wxmp' }[info.type] || {} const path = `../${buildPath}`, - {dist = `../zips/${info.name}v${info.version}`} = info + {dist = `../zips/${info.name}v${info.version||"1.0.0"}`} = info Promise.all([ execute(`./shell/update.sh ${info.name} ${path}`), db.query(sql)