mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-06-29 05:29:36 +00:00
AutoFix RuboCop Layout/ExtraSpacing
This commit is contained in:
parent
4cdf5f31b6
commit
b6833655f5
2 changed files with 1 additions and 8 deletions
|
|
@ -29,13 +29,6 @@ Gemspec/RequiredRubyVersion:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'grape_logging.gemspec'
|
- 'grape_logging.gemspec'
|
||||||
|
|
||||||
# Offense count: 1
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
|
||||||
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
|
||||||
Layout/ExtraSpacing:
|
|
||||||
Exclude:
|
|
||||||
- 'lib/grape_logging/util/parameter_filter.rb'
|
|
||||||
|
|
||||||
# Offense count: 26
|
# Offense count: 26
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
# This cop supports safe autocorrection (--autocorrect).
|
||||||
# Configuration parameters: IndentationWidth.
|
# Configuration parameters: IndentationWidth.
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ else
|
||||||
@replacement = replacement
|
@replacement = replacement
|
||||||
@regexps = regexps
|
@regexps = regexps
|
||||||
@deep_regexps = deep_regexps.any? ? deep_regexps : nil
|
@deep_regexps = deep_regexps.any? ? deep_regexps : nil
|
||||||
@blocks = blocks
|
@blocks = blocks
|
||||||
end
|
end
|
||||||
|
|
||||||
def call(original_params, parents = [])
|
def call(original_params, parents = [])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue