summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKimmo Brunfeldt <kimmobrunfeldt@gmail.com>2014-07-15 23:51:52 +0300
committerKimmo Brunfeldt <kimmobrunfeldt@gmail.com>2014-07-15 23:51:52 +0300
commit4f1490279e6417b9ed90a05d6f535e9789921f1a (patch)
treeabad917d868c4f9ef0699f0a54edbc595a27677a
parentf61b8fe1024b92684e690b175d57a86fb77e537a (diff)
downloadgit-hours-4f1490279e6417b9ed90a05d6f535e9789921f1a.zip
git-hours-4f1490279e6417b9ed90a05d6f535e9789921f1a.tar.gz
git-hours-4f1490279e6417b9ed90a05d6f535e9789921f1a.tar.bz2
Fix branches command line parameter
-rwxr-xr-xindex.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 09c632f..3904c0d 100755
--- a/index.js
+++ b/index.js
@@ -132,7 +132,7 @@ function commits(gitPath) {
branchNames = getBranchNames(gitPath);
}
- branchNames.map(function(branchName) {
+ Promise.map(branchNames, function(branchName) {
return getBranch(repo, branchName);
}).map(function(branch) {
return getBranchCommits(branch);