Fixup ICMP tests and set defaults #58
Annotations
4 errors
lib/puppet/provider/firewalld_zone/firewall_cmd.rb#L115
Style/IfUnlessModifier: Favor modifier `unless` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
|
lib/puppet/provider/firewalld_zone/firewall_cmd.rb#L144
Lint/RedundantCopDisableDirective: Unnecessary disabling of `Style/GuardClause`.
|
lib/puppet/provider/firewalld_zone/firewall_cmd.rb#L150
Style/GuardClause: Use a guard clause (`return if set_blocks.empty?`) instead of wrapping the code inside a conditional expression. (https://rubystyle.guide#no-nested-conditionals)
|
|
The logs for this run have expired and are no longer available.
Loading