Skip to content

Commit c848f93

Browse files
authored
fix: remove unnecessary return statement to comply with rubocop
1 parent bd321bb commit c848f93

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/puppet/provider/firewall/firewall.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,6 @@ def insync?(context, _name, property_name, is_hash, should_hash)
443443
should = should.tr('-', ':') if ports.include?(property_name)
444444

445445
is == should
446-
else
447-
return nil
448446
end
449447
when :string_hex
450448
# Compare the values with any whitespace removed

0 commit comments

Comments
 (0)