mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-03-06 17:59:29 +00:00
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")
|
||||
end
|
||||
when "status"
|
||||
return DiscourseChat::Helper.status_for_channel(channel)
|
||||
DiscourseChat::Helper.status_for_channel(channel)
|
||||
when "help"
|
||||
I18n.t("chat_integration.provider.#{provider}.help")
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user