diff --git a/lib/index.js b/lib/index.js index 0a42877..780bb32 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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; diff --git a/package.json b/package.json index 45dc346..ad68170 100644 --- a/package.json +++ b/package.json @@ -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" ] -} \ No newline at end of file +}