mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2025-03-11 19:18:55 +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")
|
var Ul = require("ul")
|
||||||
, Abs = require("abs")
|
, Abs = require("abs")
|
||||||
, ReadJson = require("r-json")
|
, ReadJson = require("r-json")
|
||||||
|
@ -498,7 +499,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
|
||||||
;
|
;
|
||||||
|
|
||||||
self.iterateDays(options, function (cDay) {
|
self.iterateDays(options, function (cDay) {
|
||||||
cDayObj = graph[cDay];
|
var cDayObj = graph[cDay];
|
||||||
if (!cDayObj) { return; }
|
if (!cDayObj) { return; }
|
||||||
cal.push([cDay, cDayObj.c]);
|
cal.push([cDay, cDayObj.c]);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue