lib/cobench/metrics/issues.rb in cobench-0.0.8 vs lib/cobench/metrics/issues.rb in cobench-0.0.9

- old
+ new

@@ -38,10 +38,10 @@ json = @api.search_issues(q) loog.debug("Found #{json.total_count} issues") total = json.items.count do |p| pr = p.url.split('/')[-1] repo = p.repository_url.split('/')[-2..-1].join('/') - next unless Cobench::Match.new(@opts).matches?(repo) + next unless Cobench::Match.new(@opts, loog).matches?(repo) loog.debug("Including #{repo}#{pr}") end [ { title: 'Issues',