Skip to content

Commit 4853fc6

Browse files
committed
Fixing logic of fetching commits in parallel
1 parent 07f0c8d commit 4853fc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pairing_matrix/github_commit_reader.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def read(since)
1515
together do
1616
@config.github_repos.map do |repo|
1717
async do
18-
commits += fetch_commits(repo, since)
18+
commits << fetch_commits(repo, since)
1919
end
2020
end
2121
end
22-
commits
22+
commits.flatten
2323
end
2424

2525
private

0 commit comments

Comments
 (0)