Minor fixes

This commit is contained in:
Ionică Bizău 2021-05-14 10:03:14 +03:00
parent 95de8248e5
commit 6be69c065b
4 changed files with 985 additions and 956 deletions

View file

@ -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 = {};

View file

@ -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) {

1930
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -286,4 +286,4 @@
"bloggify.json",
"bloggify/"
]
}
}