summaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-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);