File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ function showGraph(problems) {
98
98
const header = _ . range ( groups )
99
99
. map ( x => sprintf ( '%4s%18s' , x * 10 + 1 , x * 10 + 10 ) )
100
100
. join ( '' ) ;
101
- log . info ( ' ' + header ) ;
101
+ log . info ( ' ' + header ) ;
102
102
103
103
const graph = [ ] ;
104
104
for ( let problem of problems )
105
105
graph [ problem . fid ] = ICONS [ problem . state ] || ICONS . none ;
106
106
107
- let line = [ sprintf ( ' %03s ' , 0 ) ] ;
107
+ let line = [ sprintf ( ' %04s ' , 0 ) ] ;
108
108
for ( let i = 1 , n = graph . length ; i <= n ; ++ i ) {
109
109
// padding before group
110
110
if ( i % 10 === 1 ) line . push ( ' ' ) ;
@@ -114,7 +114,7 @@ function showGraph(problems) {
114
114
// time to start new row
115
115
if ( i % ( 10 * groups ) === 0 || i === n ) {
116
116
log . info ( line . join ( ' ' ) ) ;
117
- line = [ sprintf ( ' %03s ' , i ) ] ;
117
+ line = [ sprintf ( ' %04s ' , i ) ] ;
118
118
}
119
119
}
120
120
You can’t perform that action at this time.
0 commit comments