Skip to content

Commit 4465db3

Browse files
(PUP-11767) Fix EmptyBlockParameter violations and remove from todo
1 parent 6e476fe commit 4465db3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,6 @@ Style/DoubleNegation:
422422
- 'lib/puppet/util/feature.rb'
423423
- 'lib/puppet/util/windows/adsi.rb'
424424

425-
# This cop supports safe auto-correction (--auto-correct).
426-
Style/EmptyBlockParameter:
427-
Exclude:
428-
- 'lib/puppet/parser/type_loader.rb'
429-
430425
# This cop supports safe auto-correction (--auto-correct).
431426
Style/EmptyCaseCondition:
432427
Exclude:

lib/puppet/parser/type_loader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def load_files(modname, files)
113113
# for information and it should not abort.
114114
# There is currently one user in indirector/resourcetype/parser
115115
#
116-
if Puppet.lookup(:squelch_parse_errors) { || false }
116+
if Puppet.lookup(:squelch_parse_errors) { false }
117117
begin
118118
loaded_asts << parse_file(file)
119119
rescue => e

0 commit comments

Comments
 (0)