DEV: lint file
Corrects rubocop which no longer allows explicit returns
This commit is contained in:
parent
6540d8b957
commit
b4e6a15ccf
|
@ -67,7 +67,7 @@ module DiscourseChat
|
||||||
I18n.t("chat_integration.provider.#{provider}.delete.error")
|
I18n.t("chat_integration.provider.#{provider}.delete.error")
|
||||||
end
|
end
|
||||||
when "status"
|
when "status"
|
||||||
return DiscourseChat::Helper.status_for_channel(channel)
|
DiscourseChat::Helper.status_for_channel(channel)
|
||||||
when "help"
|
when "help"
|
||||||
I18n.t("chat_integration.provider.#{provider}.help")
|
I18n.t("chat_integration.provider.#{provider}.help")
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue