We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d84abf commit 659977fCopy full SHA for 659977f
lib/reverse_coverage/main.rb
@@ -29,10 +29,8 @@ def add(example)
29
lines.each_with_index do |changed, line_index|
30
next if changed.nil? || changed.zero?
31
32
- file_info = { file_path: file_path, line_index: line_index }
33
-
34
- save_changes(changes, example_data, file_info)
35
- save_changes(coverage_matrix, example_data, file_info)
+ save_changes(changes, example_data, file_path: file_path, line_index: line_index)
+ save_changes(coverage_matrix, example_data, file_path: file_path, line_index: line_index)
36
end
37
38
0 commit comments