File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
- # Offense count: 2
10
- Lint/HandleExceptions :
11
- Exclude :
12
- - ' Rakefile'
13
9
14
10
15
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ rescue LoadError
5
5
end
6
6
begin
7
7
require 'simplecov'
8
- rescue LoadError
8
+ rescue LoadError # rubocop:disable Lint/HandleExceptions
9
9
end
10
10
11
11
Bundler ::GemHelper . install_tasks
33
33
begin
34
34
require 'rubocop'
35
35
require 'rubocop/rake_task'
36
- rescue LoadError
36
+ rescue LoadError # rubocop:disable Lint/HandleExceptions
37
37
else
38
38
Rake ::Task [ :rubocop ] . clear if Rake ::Task . task_defined? ( :rubocop )
39
39
require 'rbconfig'
You can’t perform that action at this time.
0 commit comments