Fix Style/OptionalBooleanParameter cop (#34968)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
class Admin::SystemCheck::Message
|
||||
attr_reader :key, :value, :action, :critical
|
||||
|
||||
def initialize(key, value = nil, action = nil, critical = false)
|
||||
def initialize(key, value = nil, action = nil, critical: false)
|
||||
@key = key
|
||||
@value = value
|
||||
@action = action
|
||||
|
||||
Reference in New Issue
Block a user