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 , lightOpt = action.options.light
, dataPathOpt = action.options.data , dataPathOpt = action.options.data
, globalActivityOpt = action.options.globalActivity , globalActivityOpt = action.options.globalActivity
, rawOpt = action.options.raw, , rawOpt = action.options.raw
authorOpt = action.options.author , authorOpt = action.options.author
; ;
let options = {}; let options = {};

View file

@ -632,8 +632,6 @@ GitStats.prototype.globalActivity = function (options, callback) {
repo: options repo: options
}; };
} }
console.log('options',options);
options.repo = Abs(options.repo); options.repo = Abs(options.repo);
@ -645,6 +643,7 @@ GitStats.prototype.globalActivity = function (options, callback) {
, today = null , today = null
, cal = [] , cal = []
; ;
var logArgs = ["log","--since", options.start.format(DATE_FORMAT), "--until", options.end.format(DATE_FORMAT)] var logArgs = ["log","--since", options.start.format(DATE_FORMAT), "--until", options.end.format(DATE_FORMAT)]
if(options.author){ if(options.author){
logArgs = logArgs.concat(["--author", options.author]) logArgs = logArgs.concat(["--author", options.author])

1926
package-lock.json generated

File diff suppressed because it is too large Load diff