diff --git a/lib/index.js b/lib/index.js index c385188..ed2cb6f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -526,7 +526,8 @@ GitStats.prototype.ansiCalendar = function (options, callback) { */ GitStats.prototype.authors = function (options, callback) { var repo = new Gry(options.repo); - repo.exec("shortlog -s -n --all", function (err, stdout) { + debugger + repo.exec(`shortlog -s -n --all --since "${options.start.toString()}" --until "${options.end.toString()}"`, function (err, stdout) { if (err) { return callback(err); } var lines = stdout.split("\n"); var pieData = stdout.split("\n").map(function (c) {