增加异常抛出冗余
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = {
|
|||||||
mp: 'dvcp_v2_wxmp'
|
mp: 'dvcp_v2_wxmp'
|
||||||
}[info.type] || {}
|
}[info.type] || {}
|
||||||
const path = `../${buildPath}`,
|
const path = `../${buildPath}`,
|
||||||
{dist = `../zips/${info.name}v${info.version}`} = info
|
{dist = `../zips/${info.name}v${info.version||"1.0.0"}`} = info
|
||||||
Promise.all([
|
Promise.all([
|
||||||
execute(`./shell/update.sh ${info.name} ${path}`),
|
execute(`./shell/update.sh ${info.name} ${path}`),
|
||||||
db.query(sql)
|
db.query(sql)
|
||||||
|
|||||||
Reference in New Issue
Block a user