@@ -167,7 +167,7 @@ class CommitBuild extends Job {
167167 this . change = { } ;
168168 this . date = undefined ;
169169 }
170-
170+
171171 getBuilds ( { result, subBuilds, changeSet, actions, timestamp} ) {
172172 if ( result === SUCCESS ) {
173173 return { result : SUCCESS } ;
@@ -272,7 +272,7 @@ class CommitBuild extends Job {
272272 }
273273
274274 display ( ) {
275- const { cli, result, failures, params , change, builds } = this ;
275+ const { cli, result, failures, change, builds } = this ;
276276 cli . separator ( 'Summary' , SEP_LENGTH ) ;
277277 cli . table ( 'Result' , resultName ( result ) ) ;
278278 cli . table ( 'URL' , this . jobUrl ) ;
@@ -283,7 +283,7 @@ class CommitBuild extends Job {
283283 for ( const failure of failures ) {
284284 this . displayFailure ( failure ) ;
285285 }
286- cli . separator ( 'Other builds' , SEP_LENGTH )
286+ cli . separator ( 'Other builds' , SEP_LENGTH ) ;
287287 for ( const aborted of builds . aborted ) {
288288 cli . table ( 'Aborted' , getUrl ( aborted . url ) ) ;
289289 }
@@ -329,7 +329,7 @@ class PRBuild extends Job {
329329
330330 // Get the failures and their reasons of this build
331331 async getResults ( ) {
332- const { path , cli, request } = this ;
332+ const { cli, request } = this ;
333333 const data = await this . getBuildData ( ) ;
334334 const {
335335 result, subBuilds, changeSet, actions, timestamp
@@ -473,15 +473,15 @@ function pickReason(index = 0, contextBefore = 0, contextAfter = 0) {
473473 url : this . consoleUIUrl ,
474474 reason : data . slice ( before , after )
475475 } ] ;
476- }
476+ } ;
477477}
478478
479479const FAILURE_PATTERNS = [ {
480- pattern : / n o t o k [ \s \S ] + ? \. \. \. \r ? \n / mg,
480+ pattern : / n o t o k [ \s \S ] + ? { 2 } \. \. \. \r ? \n / mg,
481481 filter : filterTapReasons ,
482482 name : 'js test failure'
483483} , {
484- pattern : / \[ F A I L E D \] .+ / g,
484+ pattern : / \[ { 2 } F A I L E D { 2 } \] .+ / g,
485485 filter : pickReason ( 0 , 5 , 0 ) ,
486486 name : 'cctest failure'
487487} , {
0 commit comments