mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
AutoFix RuboCop Layout/TrailingEmptyLines
This commit is contained in:
parent
433ace3101
commit
abcef47505
4 changed files with 3 additions and 13 deletions
|
|
@ -29,16 +29,6 @@ Gemspec/RequiredRubyVersion:
|
|||
Exclude:
|
||||
- 'grape_logging.gemspec'
|
||||
|
||||
# Offense count: 3
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: final_newline, final_blank_line
|
||||
Layout/TrailingEmptyLines:
|
||||
Exclude:
|
||||
- 'lib/grape_logging/multi_io.rb'
|
||||
- 'lib/grape_logging/reporters/active_support_reporter.rb'
|
||||
- 'lib/grape_logging/timings.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
|
||||
Lint/DuplicateBranch:
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ module GrapeLogging
|
|||
@targets.each(&:close)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ module Reporters
|
|||
ActiveSupport::Notifications.instrument @instrumentation_key, params
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@ module GrapeLogging
|
|||
self.db_runtime += event.duration
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue