File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ export default class WebPerfPlugin extends SitespeedioPlugin {
152152 } ;
153153 }
154154
155- this . data [ group ] . issues . push ( ...entry . issues ) ;
156- this . data [ group ] . totalIssues = this . data [ group ] . issues . length ; // Update totalIssues
155+ this . data [ group ] . allIssues . push ( ...entry . issues ) ;
156+ this . data [ group ] . totalIssues = this . data [ group ] . allIssues . length ; // Update totalIssues
157157
158158 // Group issues by rule
159159 for ( const issue of entry . issues ) {
@@ -178,9 +178,9 @@ export default class WebPerfPlugin extends SitespeedioPlugin {
178178 // Update totalGroupedIssues
179179 this . data [ group ] . totalGroupedIssues = Object . keys ( this . data [ group ] . groupedIssues ) . length ;
180180
181- this . data [ group ] . nofIssuesWithCritical = Object . keys ( this . data [ group ] . criticalIssues ) . length ;
182- this . data [ group ] . nofIssuesWithError = Object . keys ( this . data [ group ] . errorIssues ) . length ;
183- this . data [ group ] . nofIssuesWithWarning = Object . keys ( this . data [ group ] . warningIssues ) . length ;
181+ this . data [ group ] . nofIssuesWithCritical = this . data [ group ] . criticalIssues . length ;
182+ this . data [ group ] . nofIssuesWithError = this . data [ group ] . errorIssues . length ;
183+ this . data [ group ] . nofIssuesWithWarning = this . data [ group ] . warningIssues . length ;
184184 }
185185
186186 await this . storageManager . writeData (
You can’t perform that action at this time.
0 commit comments