Skip to content

Commit 822aa24

Browse files
committed
Fix EmptyLineAfterGuardClause
Signed-off-by: nmburgan <13688219+nmburgan@users.noreply.github.com>
1 parent d8ca398 commit 822aa24

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ Layout/ClosingHeredocIndentation:
2929
- 'spec/unit/pal_spec.rb'
3030
- 'spec/unit/util/format_spec.rb'
3131

32-
# Offense count: 1
33-
# This cop supports safe autocorrection (--autocorrect).
34-
Layout/EmptyLineAfterGuardClause:
35-
Exclude:
36-
- 'rakelib/tests.rake'
37-
3832
# Offense count: 660
3933
# This cop supports safe autocorrection (--autocorrect).
4034
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.

rakelib/tests.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ begin
151151
each_module_dir = lambda do |base|
152152
Pathname.new(base).each_child do |child|
153153
next unless child.directory? && child.join('spec').directory?
154+
154155
run_specs.call(child)
155156
end
156157
end

0 commit comments

Comments
 (0)