Skip to content

Commit

Permalink
Fixing logic of fetching commits in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitsing committed Mar 28, 2017
1 parent 07f0c8d commit 4853fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pairing_matrix/github_commit_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ def read(since)
together do
@config.github_repos.map do |repo|
async do
commits += fetch_commits(repo, since)
commits << fetch_commits(repo, since)
end
end
end
commits
commits.flatten
end

private
Expand Down

0 comments on commit 4853fc6

Please sign in to comment.