增加异常抛出冗余

This commit is contained in:
aixianling
2022-12-30 09:53:49 +08:00
parent dd764d704a
commit b5e1864c6a

View File

@@ -16,8 +16,9 @@ module.exports = {
wxwork: 'base-wxcp',
mp: 'dvcp_v2_wxmp'
}[info.type] || {}
const path = `../${buildPath}`,
{dist = `../zips/${info.name}v${info.version||"1.0.0"}`} = info
let path = `../${buildPath}`,
{dist} = info
dist = dist || `../zips/${info.name}v${info.version || "1.0.0"}`
Promise.all([
execute(`./shell/update.sh ${info.name} ${path}`),
db.query(sql)