mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
Fixed #92. Define the lines
variable.
This commit is contained in:
parent
f012b85fe8
commit
3be75ade3b
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ GitStats.prototype.authors = function (options, callback) {
|
||||||
var repo = new Gry(options.repo);
|
var repo = new Gry(options.repo);
|
||||||
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); }
|
||||||
lines = stdout.split("\n");
|
var lines = stdout.split("\n");
|
||||||
pieData = stdout.split("\n").map(function (c) {
|
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();
|
||||||
|
|
Loading…
Reference in a new issue