Improve the raw results

This commit is contained in:
Ionică Bizău 2016-10-23 16:03:43 +03:00
parent e68bf7c048
commit 7d370ea67b
2 changed files with 4 additions and 4 deletions

View File

@ -495,6 +495,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
, end: options.end
, firstDay: options.firstDay
, cal: cal
, raw: options.raw
}
;
@ -504,8 +505,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
cal.push([cDay, cDayObj.c]);
});
callback(null, options.raw ? data : CliGhCal(cal, data));
callback(null, CliGhCal(cal, data));
});
return self;

View File

@ -35,7 +35,7 @@
"dependencies": {
"abs": "^1.0.0",
"bug-killer": "^4.0.0",
"cli-gh-cal": "^1.3.0",
"cli-gh-cal": "^1.3.3",
"cli-pie": "^2.0.0",
"deffy": "^2.2.2",
"gitlog-parser": "0.0.4",
@ -246,4 +246,4 @@
"cli.js",
"index.js"
]
}
}