Skip to content

Commit 6be69c0

Browse files
committed
Minor fixes
1 parent 95de824 commit 6be69c0

File tree

4 files changed

+983
-954
lines changed

4 files changed

+983
-954
lines changed

bin/git-stats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ new Tilda(`${__dirname}/../package.json`, {
100100
, lightOpt = action.options.light
101101
, dataPathOpt = action.options.data
102102
, globalActivityOpt = action.options.globalActivity
103-
, rawOpt = action.options.raw,
104-
authorOpt = action.options.author
103+
, rawOpt = action.options.raw
104+
, authorOpt = action.options.author
105105
;
106106

107107
let options = {};

lib/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,6 @@ GitStats.prototype.globalActivity = function (options, callback) {
632632
repo: options
633633
};
634634
}
635-
console.log('options',options);
636-
637635

638636
options.repo = Abs(options.repo);
639637

@@ -645,9 +643,10 @@ GitStats.prototype.globalActivity = function (options, callback) {
645643
, today = null
646644
, cal = []
647645
;
646+
648647
var logArgs = ["log","--since", options.start.format(DATE_FORMAT), "--until", options.end.format(DATE_FORMAT)]
649648
if(options.author){
650-
logArgs = logArgs.concat(["--author",options.author])
649+
logArgs = logArgs.concat(["--author", options.author])
651650
}
652651

653652
GitLogParser(Spawn("git",logArgs , { cwd: options.repo }).stdout).on("commit", function(commit) {

0 commit comments

Comments
 (0)