mirror of
https://github.com/zhigang1992/bundlewatch.git
synced 2026-04-28 20:05:20 +08:00
5
This commit is contained in:
@@ -70,7 +70,7 @@ const bundleSizeApi = async customConfig => {
|
||||
let failReportedCount = 0
|
||||
await Promise.all(
|
||||
results.fullResults.map(result => {
|
||||
if (result.isFail && failReportedCount <= 5) {
|
||||
if (result.isFail && failReportedCount < 5) {
|
||||
failReportedCount += 1
|
||||
const message =
|
||||
failReportedCount === 5
|
||||
|
||||
Reference in New Issue
Block a user