Commit 447c086
committed
Ignore offense with the right cop
The offense generated has been change from `Lint/HandleExceptions`
to `Lint/SuppressedException`.
lib/rubocop/cop/rspec_cops.rb:12:1: W: Lint/SuppressedException: Do not suppress exceptions.
rescue LoadError # rubocop:disable Lint/HandleExceptions
^^^^^^^^^^^^^^^^
lib/rubocop/cop/rspec_cops.rb:12:18: W: Lint/RedundantCopDisableDirective: Unnecessary disabling of Lint/HandleExceptions (unknown cop).
rescue LoadError # rubocop:disable Lint/HandleExceptions
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1 parent bd03273 commit 447c086
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments