Put the stats one line

This commit is contained in:
Ionică Bizău 2015-02-01 15:36:26 +02:00
parent 1e343a7e6e
commit 6de0cdb11f

View file

@ -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({