diff options
author | Kimmo Brunfeldt <kimmobrunfeldt@gmail.com> | 2014-07-16 00:05:35 +0300 |
---|---|---|
committer | Kimmo Brunfeldt <kimmobrunfeldt@gmail.com> | 2014-07-16 00:05:35 +0300 |
commit | eb67c70842387f65a827be24eac764ef884833bf (patch) | |
tree | 3dd19d7f0123c417eb541e58ee8ca0d5788f1f94 | |
parent | 4f1490279e6417b9ed90a05d6f535e9789921f1a (diff) | |
download | git-hours-eb67c70842387f65a827be24eac764ef884833bf.zip git-hours-eb67c70842387f65a827be24eac764ef884833bf.tar.gz git-hours-eb67c70842387f65a827be24eac764ef884833bf.tar.bz2 |
Fix typo in config.maxCommifDiffInMinutes
-rwxr-xr-x | index.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -81,7 +81,7 @@ function parseArgs() { function mergeDefaultsWithArgs(config) { return { branches: program.branches || [], - maxCommifDiffInMinutes: program.maxCommitDiff || config.maxCommitDiffInMinutes, + maxCommitDiffInMinutes: program.maxCommitDiff || config.maxCommitDiffInMinutes, firstCommitAdditionInMinutes: program.firstCommitAdd || config.firstCommitAdditionInMinutes }; } @@ -111,6 +111,7 @@ function estimateHours(dates) { // The work of first commit of a session cannot be seen in git history, // so we make a blunt estimate of it return hours + (config.firstCommitAdditionInMinutes / 60); + }, 0); return Math.round(hours); |