Commit cc3877b4 authored by 前端-许佳敏's avatar 前端-许佳敏

脚本优化

parent f184a8e8
...@@ -84,7 +84,10 @@ async function batchAxiosHttps() { ...@@ -84,7 +84,10 @@ async function batchAxiosHttps() {
if (httpErrorQueue.length > 0 || serverErrorQueue.length > 0) { if (httpErrorQueue.length > 0 || serverErrorQueue.length > 0) {
// 退出构建 // 退出构建
process.exit() console.log('\n脚本构建失败!!!!!!')
// 终止当前进程
process.exit(1)
} }
return isDemo ? Object.assign(asyncHttpQueue, await demoFetch()) : asyncHttpQueue return isDemo ? Object.assign(asyncHttpQueue, await demoFetch()) : asyncHttpQueue
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment