mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
Improve the raw results
This commit is contained in:
parent
e68bf7c048
commit
7d370ea67b
2 changed files with 4 additions and 4 deletions
|
@ -495,6 +495,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
|
||||||
, end: options.end
|
, end: options.end
|
||||||
, firstDay: options.firstDay
|
, firstDay: options.firstDay
|
||||||
, cal: cal
|
, cal: cal
|
||||||
|
, raw: options.raw
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -504,8 +505,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
|
||||||
cal.push([cDay, cDayObj.c]);
|
cal.push([cDay, cDayObj.c]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
callback(null, CliGhCal(cal, data));
|
||||||
callback(null, options.raw ? data : CliGhCal(cal, data));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"abs": "^1.0.0",
|
"abs": "^1.0.0",
|
||||||
"bug-killer": "^4.0.0",
|
"bug-killer": "^4.0.0",
|
||||||
"cli-gh-cal": "^1.3.0",
|
"cli-gh-cal": "^1.3.3",
|
||||||
"cli-pie": "^2.0.0",
|
"cli-pie": "^2.0.0",
|
||||||
"deffy": "^2.2.2",
|
"deffy": "^2.2.2",
|
||||||
"gitlog-parser": "0.0.4",
|
"gitlog-parser": "0.0.4",
|
||||||
|
|
Loading…
Reference in a new issue