From 6de0cdb11fca0829056e33c6c34110dca3b96eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Sun, 1 Feb 2015 15:36:26 +0200 Subject: [PATCH] Put the stats one line --- lib/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/index.js b/lib/index.js index cce7f62..37cb972 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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({