@@ -324,7 +324,7 @@ class TestBuild extends Job {
324324 const builtOn = failure . builtOn ? `On ${ failure . builtOn } : ` : '' ;
325325 output += `\n\n${ builtOn } ${ failure . reason } \n` ;
326326 } else {
327- output += ` \n\n` ;
327+ output += ' \n\n' ;
328328 const builtOn = failure . builtOn ? ` on ${ failure . builtOn } :` : '' ;
329329 output += fold ( `See failures${ builtOn } ` , failure . reason ) + '\n\n' ;
330330 }
@@ -378,7 +378,7 @@ function pad(any, length) {
378378 return ( any + '' ) . padEnd ( length ) ;
379379}
380380
381- const kHealthKeys = [ 'success' , 'pending' , 'aborted' , 'failed' , 'unstable' ] ;
381+ const kHealthKeys = [ 'success' , 'pending' , 'aborted' , 'failed' , 'unstable' ] ;
382382class Health {
383383 constructor ( builds ) {
384384 for ( const key of kHealthKeys ) {
@@ -450,7 +450,7 @@ class FailureAggregator {
450450 . value ( ) ;
451451 const data = [ ] ;
452452 for ( const item of groupedByReason ) {
453- const [ reason , failures ] = item ;
453+ const [ reason , failures ] = item ;
454454 // Uncomment this and redirect stderr away to see matched highlights
455455 // console.log('HIGHLIGHT', reason);
456456
@@ -490,8 +490,8 @@ class FailureAggregator {
490490 let output = 'Failures in ' ;
491491 output += `[${ jobName } /${ first . jobid } ](${ first . link } ) to ` ;
492492 output += `[${ jobName } /${ last . jobid } ](${ last . link } ) ` ;
493- output += ` that failed more than 2 PRs\n` ;
494- output += ` (Generated with \ `ncu-ci ` ;
493+ output += ' that failed more than 2 PRs\n' ;
494+ output += ' (Generated with `ncu-ci ' ;
495495 output += `${ process . argv . slice ( 2 ) . join ( ' ' ) } \`)\n\n` ;
496496
497497 output += this . health . formatAsMarkdown ( ) + '\n' ;
@@ -736,7 +736,7 @@ function filterBuild(builds, type) {
736736async function listBuilds ( cli , request , type ) {
737737 // assert(type === COMMIT || type === PR)
738738 const { jobName } = CI_TYPES . get ( type ) ;
739- const tree = ` builds[url,result]` ;
739+ const tree = ' builds[url,result]' ;
740740 const url = `https://${ CI_DOMAIN } /job/${ jobName } /api/json?tree=${ qs . escape ( tree ) } ` ;
741741
742742 cli . startSpinner ( `Querying ${ url } ` ) ;
@@ -998,10 +998,10 @@ class BenchmarkRun extends Job {
998998 for ( const line of results ) {
999999 const star = line . indexOf ( '*' ) ;
10001000 const name = line . slice ( 0 , star ) . trim ( ) ;
1001- const [ file , ...config ] = name . split ( ' ' ) ;
1001+ const [ file , ...config ] = name . split ( ' ' ) ;
10021002 const confidence = line . match ( / ( \* + ) / ) [ 1 ] ;
10031003 const lastStar = line . lastIndexOf ( '*' ) ;
1004- const [ improvement , ...accuracy ] =
1004+ const [ improvement , ...accuracy ] =
10051005 line . slice ( lastStar + 1 ) . split ( / \s * % / ) . map ( i => i . trim ( ) + '%' ) ;
10061006 accuracy . pop ( ) ; // remove the last empty item
10071007 json . push ( {
0 commit comments