Commit 2300b17
authored
fix: avoid emitting warnings when ruby is run with
I've also turned on warnings for this gem's tests, to make it more
obvious when this is happening in the future.
Without this fix, users will see repeated messages like this:
> source_file_formatter.rb:20: warning: instance variable @line_coverage not initialized-w (#1)1 parent 76cc7b4 commit 2300b17
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments