Skip to content

Commit 27660b6

Browse files
author
jordanbreen28
committed
(CONT-792) - Correct Lint/RedundantCopEnableDirective
1 parent c3632a9 commit 27660b6

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ Lint/ConstantDefinitionInBlock:
1313
Exclude:
1414
- 'spec/unit/puppet/provider/postgresql_replication_slot/ruby_spec.rb'
1515

16-
# Offense count: 1
17-
# This cop supports safe autocorrection (--autocorrect).
18-
Lint/RedundantCopEnableDirective:
19-
Exclude:
20-
- 'lib/puppet/type/postgresql_psql.rb'
21-
2216
# Offense count: 6
2317
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
2418
Metrics/AbcSize:

lib/puppet/type/postgresql_psql.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def sync
3939
def matches(value)
4040
output, status = provider.run_unless_sql_command(value)
4141
fail("Error evaluating 'unless' clause, returned #{status}: '#{output}'") unless status.zero? # rubocop:disable Style/SignalException
42-
# rubocop:enable Style/NumericPredicate
4342

4443
result_count = output.strip.to_i
4544
debug("Found #{result_count} row(s) executing 'unless' clause")

0 commit comments

Comments
 (0)