Skip to content

Commit 3be75ad

Browse files
committed
Fixed #92. Define the lines variable.
1 parent f012b85 commit 3be75ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ GitStats.prototype.authors = function (options, callback) {
528528
var repo = new Gry(options.repo);
529529
repo.exec("shortlog -s -n --all", function (err, stdout) {
530530
if (err) { return callback(err); }
531-
lines = stdout.split("\n");
531+
var lines = stdout.split("\n");
532532
pieData = stdout.split("\n").map(function (c) {
533533
var splits = c.split("\t").map(function (cc) {
534534
return cc.trim();

0 commit comments

Comments
 (0)