mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22: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
|
, 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 = {};
|
||||||
|
|
|
@ -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
1926
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue