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