Commit f605cd7
committed
Fix rubocop: Style/SafeNavigation
Addressing:
test/common/testcase.rb:20:7: C: Style/SafeNavigation: Use safe navigation (&.) instead of checking if an object exists before calling the method.
@s.destroy if @s
^^^^^^^^^^^^^^^^1 parent 749be45 commit f605cd7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments