File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,16 @@ const header = `
8686
8787function row ( result , baseSha , headSha ) {
8888 const diffViewUrl = `https://react-builds.vercel.app/commits/${ headSha } /files/${ result . path } ?compare=${ baseSha } ` ;
89- // prettier-ignore
90- return `| [${ result . path } ](${ diffViewUrl } ) | **${ change ( result . change ) } ** | ${ kbs ( result . baseSize ) } | ${ kbs ( result . headSize ) } | ${ change ( result . changeGzip ) } | ${ kbs ( result . baseSizeGzip ) } | ${ kbs ( result . headSizeGzip ) } ` ;
89+ const rowArr = [
90+ `| [${ result . path } ](${ diffViewUrl } )` ,
91+ `**${ change ( result . change ) } **` ,
92+ `${ kbs ( result . baseSize ) } ` ,
93+ `${ kbs ( result . headSize ) } ` ,
94+ `${ change ( result . changeGzip ) } ` ,
95+ `${ kbs ( result . baseSizeGzip ) } ` ,
96+ `${ kbs ( result . headSizeGzip ) } ` ,
97+ ] ;
98+ return rowArr . join ( ' | ' ) ;
9199}
92100
93101( async function ( ) {
You can’t perform that action at this time.
0 commit comments