Skip to content

Commit 8751d6e

Browse files
committed
Declare variable
1 parent b6b318a commit 8751d6e

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
@@ -529,7 +529,7 @@ GitStats.prototype.authors = function (options, callback) {
529529
repo.exec("shortlog -s -n --all", function (err, stdout) {
530530
if (err) { return callback(err); }
531531
var lines = stdout.split("\n");
532-
pieData = stdout.split("\n").map(function (c) {
532+
var pieData = stdout.split("\n").map(function (c) {
533533
var splits = c.split("\t").map(function (cc) {
534534
return cc.trim();
535535
});

0 commit comments

Comments
 (0)