lib/cobench/metrics/pulls.rb in cobench-0.0.31 vs lib/cobench/metrics/pulls.rb in cobench-0.0.32

- old
+ new

@@ -41,10 +41,10 @@ orgs = [] total = json.items.count do |p| pr = p.pull_request.url.split('/')[-1] repo = p.repository_url.split('/')[-2..-1].join('/') next unless Cobench::Match.new(@opts, loog).matches?(repo) - orgs += p.repository_url.split('/')[-2] + orgs << p.repository_url.split('/')[-2] pr_json = @api.pull_request(repo, pr) hocs = pr_json.additions + pr_json.deletions hoc += hocs loog.debug("Including #{repo}##{pr} with #{hocs}") end