Skip to content

Commit cf51a71

Browse files
author
jordanbreen28
committed
(CONT-792) - Correct Lint/DuplicateBranch
1 parent 84b36aa commit cf51a71

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
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-
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
18-
Lint/DuplicateBranch:
19-
Exclude:
20-
- 'spec/spec_helper_local.rb'
21-
2216
# Offense count: 1
2317
# Configuration parameters: AllowComments, AllowEmptyLambdas.
2418
Lint/EmptyBlock:

spec/spec_helper_local.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,10 @@ def param(type, title, param)
9999
# See https://github.com/voxpupuli/voxpupuli-test/blob/master/lib/voxpupuli/test/facts.rb
100100
add_custom_fact :service_provider, ->(_os, facts) do
101101
case facts[:osfamily].downcase
102-
when 'archlinux'
102+
when 'archlinux', 'debian'
103103
'systemd'
104104
when 'darwin'
105105
'launchd'
106-
when 'debian'
107-
'systemd'
108106
when 'freebsd'
109107
'freebsd'
110108
when 'gentoo'

0 commit comments

Comments
 (0)