-
Notifications
You must be signed in to change notification settings - Fork 13
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
File tree
2 files changed
+3
-1
lines changed- lib/simplecov_json_formatter
2 files changed
+3
-1
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + |
Lines changed: 2 additions & 1 deletion
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