Skip to content

Commit

Permalink
fix rubocop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Dec 25, 2023
1 parent 7dca89d commit c13f0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov/result_merger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def within_merge_timeout?(result)
def merge_coverage(results)
results = results.compact

return nil if results.size.zero?
return nil if results.empty?
return results.first if results.size == 1

parsed_results = results.map(&:original_result)
Expand Down

0 comments on commit c13f0b1

Please sign in to comment.