File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,8 @@ function showGraph(problems) {
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 rowNumFormat = ' %04s' ;
108
+ let line = [ sprintf ( rowNumFormat , 0 ) ] ;
108
109
for ( let i = 1 , n = graph . length ; i <= n ; ++ i ) {
109
110
// padding before group
110
111
if ( i % 10 === 1 ) line . push ( ' ' ) ;
@@ -114,7 +115,7 @@ function showGraph(problems) {
114
115
// time to start new row
115
116
if ( i % ( 10 * groups ) === 0 || i === n ) {
116
117
log . info ( line . join ( ' ' ) ) ;
117
- line = [ sprintf ( ' %03s' , i ) ] ;
118
+ line = [ sprintf ( rowNumFormat , i ) ] ;
118
119
}
119
120
}
120
121
<
1557
div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden>
You can’t perform that action at this time.
0 commit comments