lib/katello/tasks/yard.rake in katello-3.0.2 vs lib/katello/tasks/yard.rake in katello-3.1.0.rc1
- old
+ new
@@ -1,9 +1,9 @@
begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
- t.files = ['app/**/*.rb' ] # optional
+ t.files = ['app/**/*.rb'] # optional
t.options = ['--output-dir=yard']
end
-rescue LoadError
+rescue LoadError # rubocop:disable Lint/HandleExceptions
# yard not present, skipping this definition
end