mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-11-17 17:35:22 +01:00
Put the stats one line
This commit is contained in:
parent
1e343a7e6e
commit
6de0cdb11f
1 changed files with 4 additions and 4 deletions
|
@ -244,10 +244,10 @@ GitStats.ansiCalendar = function (data, callback) {
|
|||
}).join("\n");
|
||||
|
||||
strYear +=
|
||||
new Array(4 + 2 * Math.ceil(365 / 7)).join("-")
|
||||
+ "\n" + "Total commits: " + cal.total
|
||||
+ "\n" + "Current Streak: " + cal.cStreak
|
||||
+ "\n" + "Longest Streak: " + cal.lStreak
|
||||
new Array(5 + 2 * Math.ceil(365 / 7)).join("-")
|
||||
+ "\n" + "Contributions in the last year: " + cal.total
|
||||
+ " | " + "Longest Streak: " + cal.lStreak + " days"
|
||||
+ " | " + "Current Streak: " + cal.cStreak + " days"
|
||||
;
|
||||
|
||||
strYear = new CliBox({
|
||||
|
|
Loading…
Reference in a new issue