Declare variable

This commit is contained in:
Ionică Bizău 2016-05-26 07:19:50 +03:00
parent b6b318addd
commit 8751d6efb5

View file

@ -529,7 +529,7 @@ GitStats.prototype.authors = function (options, callback) {
repo.exec("shortlog -s -n --all", function (err, stdout) { repo.exec("shortlog -s -n --all", function (err, stdout) {
if (err) { return callback(err); } if (err) { return callback(err); }
var lines = stdout.split("\n"); var lines = stdout.split("\n");
pieData = stdout.split("\n").map(function (c) { var pieData = stdout.split("\n").map(function (c) {
var splits = c.split("\t").map(function (cc) { var splits = c.split("\t").map(function (cc) {
return cc.trim(); return cc.trim();
}); });