This commit is contained in:
Jake Bolam
2018-04-22 15:05:34 -04:00
parent f97880e107
commit fd74d9c696

View File

@@ -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