Pass the raw option to the cli-gh-cal module

This commit is contained in:
Ionică Bizău 2017-01-23 20:42:08 +02:00
parent bc6f089613
commit d906fbdab5
1 changed files with 2 additions and 1 deletions

View File

@ -659,8 +659,9 @@ GitStats.prototype.globalActivity = function (options, callback) {
, start: options.start
, end: options.end
, cal: cal
, raw: options.raw
};
callback(null, options.raw ? data : CliGhCal(cal, data));
callback(null, CliGhCal(cal, data));
});
return this;