Skip to content

Commit fb991c5

Browse files
nabertrandpraj1001
authored andcommitted
Fix rubocop warning
1 parent 564fb4a commit fb991c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/firewall/firewall.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def insync?(context, _name, property_name, is_hash, should_hash)
326326
context.debug("Checking whether '#{property_name}' is out of sync")
327327

328328
# If either value is nil, no custom logic is required unless property is source or destination
329-
return nil if (is_hash[property_name].nil? || should_hash[property_name].nil?) && ! [:source, :destination].include?(property_name)
329+
return nil if (is_hash[property_name].nil? || should_hash[property_name].nil?) && ![:source, :destination].include?(property_name)
330330

331331
case property_name
332332
when :protocol

0 commit comments

Comments
 (0)