DEV: lint file

Corrects rubocop which no longer allows explicit returns
This commit is contained in:
Sam Saffron 2019-12-10 11:58:07 +11:00
parent 6540d8b957
commit b4e6a15ccf
1 changed files with 1 additions and 1 deletions

View File

@ -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