mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 05:12:11 +01:00
Minor fixes
This commit is contained in:
parent
95de8248e5
commit
6be69c065b
4 changed files with 985 additions and 956 deletions
|
@ -100,8 +100,8 @@ new Tilda(`${__dirname}/../package.json`, {
|
|||
, lightOpt = action.options.light
|
||||
, dataPathOpt = action.options.data
|
||||
, globalActivityOpt = action.options.globalActivity
|
||||
, rawOpt = action.options.raw,
|
||||
authorOpt = action.options.author
|
||||
, rawOpt = action.options.raw
|
||||
, authorOpt = action.options.author
|
||||
;
|
||||
|
||||
let options = {};
|
||||
|
|
|
@ -632,8 +632,6 @@ GitStats.prototype.globalActivity = function (options, callback) {
|
|||
repo: options
|
||||
};
|
||||
}
|
||||
console.log('options',options);
|
||||
|
||||
|
||||
options.repo = Abs(options.repo);
|
||||
|
||||
|
@ -645,9 +643,10 @@ GitStats.prototype.globalActivity = function (options, callback) {
|
|||
, today = null
|
||||
, cal = []
|
||||
;
|
||||
|
||||
var logArgs = ["log","--since", options.start.format(DATE_FORMAT), "--until", options.end.format(DATE_FORMAT)]
|
||||
if(options.author){
|
||||
logArgs = logArgs.concat(["--author",options.author])
|
||||
logArgs = logArgs.concat(["--author", options.author])
|
||||
}
|
||||
|
||||
GitLogParser(Spawn("git",logArgs , { cwd: options.repo }).stdout).on("commit", function(commit) {
|
||||
|
|
1926
package-lock.json
generated
1926
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue