File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ function showGraph(problems) {
9898 const header = _ . range ( groups )
9999 . map ( x => sprintf ( '%4s%18s' , x * 10 + 1 , x * 10 + 10 ) )
100100 . join ( '' ) ;
101- log . info ( ' ' + header ) ;
101+ log . info ( ' ' + header ) ;
102102
103103 const graph = [ ] ;
104104 for ( let problem of problems )
105105 graph [ problem . fid ] = ICONS [ problem . state ] || ICONS . none ;
106106
107- let line = [ sprintf ( ' %03s ' , 0 ) ] ;
107+ let line = [ sprintf ( ' %04s ' , 0 ) ] ;
108108 for ( let i = 1 , n = graph . length ; i <= n ; ++ i ) {
109109 // padding before group
110110 if ( i % 10 === 1 ) line . push ( ' ' ) ;
@@ -114,7 +114,7 @@ function showGraph(problems) {
114114 // time to start new row
115115 if ( i % ( 10 * groups ) === 0 || i === n ) {
116116 log . info ( line . join ( ' ' ) ) ;
117- line = [ sprintf ( ' %03s ' , i ) ] ;
117+ line = [ sprintf ( ' %04s ' , i ) ] ;
118118 }
119119 }
120120
You can’t perform that action at this time.
0 commit comments