Skip to content

Commit 7d370ea

Browse files
committed
Improve the raw results
1 parent e68bf7c commit 7d370ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
495495
, end: options.end
496496
, firstDay: options.firstDay
497497
, cal: cal
498+
, raw: options.raw
498499
}
499500
;
500501

@@ -504,8 +505,7 @@ GitStats.prototype.ansiCalendar = function (options, callback) {
504505
cal.push([cDay, cDayObj.c]);
505506
});
506507

507-
508-
callback(null, options.raw ? data : CliGhCal(cal, data));
508+
callback(null, CliGhCal(cal, data));
509509
});
510510

511511
return self;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"dependencies": {
3636
"abs": "^1.0.0",
3737
"bug-killer": "^4.0.0",
38-
"cli-gh-cal": "^1.3.0",
38+
"cli-gh-cal": "^1.3.3",
3939
"cli-pie": "^2.0.0",
4040
"deffy": "^2.2.2",
4141
"gitlog-parser": "0.0.4",
@@ -246,4 +246,4 @@
246246
"cli.js",
247247
"index.js"
248248
]
249-
}
249+
}

0 commit comments

Comments
 (0)