mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 05:12:11 +01:00
Fix variable which was not defined. Fixes #90.
This commit is contained in:
parent
a5e2a2dffd
commit
30e5954090
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
// Dependencies
|
||||
"use strict";
|
||||
|
||||
var Ul = require("ul")
|
||||
, Abs = require("abs")
|
||||
, ReadJson = require("r-json")
|
||||
|
@ -498,7 +499,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
|
|||
;
|
||||
|
||||
self.iterateDays(options, function (cDay) {
|
||||
cDayObj = graph[cDay];
|
||||
var cDayObj = graph[cDay];
|
||||
if (!cDayObj) { return; }
|
||||
cal.push([cDay, cDayObj.c]);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue