Skip to content

Commit c13f0b1

Browse files
committed
fix rubocop issue
1 parent 7dca89d commit c13f0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/simplecov/result_merger.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def within_merge_timeout?(result)
8282
def merge_coverage(results)
8383
results = results.compact
8484

85-
return nil if results.size.zero?
85+
return nil if results.empty?
8686
return results.first if results.size == 1
8787

8888
parsed_results = results.map(&:original_result)

0 commit comments

Comments
 (0)