Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a32f23

Browse files
cocobearjdneo
authored andcommitted
fix alignment (#39)
1 parent89572fc commit6a32f23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎lib/commands/stat.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ function showGraph(problems) {
9898
constheader=_.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
constgraph=[];
104104
for(letproblemofproblems)
105105
graph[problem.fid]=ICONS[problem.state]||ICONS.none;
106106

107-
letline=[sprintf(' %03s',0)];
107+
letline=[sprintf(' %04s',0)];
108108
for(leti=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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp