mikian / rubocop-junit-formatter

MIT License
9 stars 19 forks source link

gem doesn't match github code? #14

Closed runecalico closed 6 years ago

runecalico commented 7 years ago

After much annoyance and swearing on why I couldn't get any output from the junit formatter gem when there where no offenses, and yet the github code looks like it should output... I looked at the gem that I got from rubygems.org... and it doesn't match what's in github.

This line I think is the culprit.. return if offences.empty?

right here.. def file_finished(file, offences) return if offences.empty?

    # One test case per cop per file

Does the gem need to be updated, or ???

mikian commented 6 years ago

New release done on rubygems.