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
|
||||
, 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;
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue