You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def modify_pe_master_rules(rules)
# If not an array, return as is
return rules unless rules.is_a?(Array)
It's not clear, why such condition exists, it should at least emit a warning, but, in my case I had no rules defined
so rules is a nil. IMHO, this should be treated as an empty array