Make lint happy

This commit is contained in:
Tusooa Zhu 2022-03-02 22:56:19 -05:00
parent bc59da96c5
commit d3f3f30c6a
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 2 additions and 0 deletions

View File

@ -55,8 +55,10 @@ def supported_variants_of_locale(locale) do
cond do
variant?(locale) ->
[locale]
supports_locale?(locale) ->
[locale]
true ->
Gettext.known_locales(Pleroma.Web.Gettext)
|> Enum.filter(fn l -> String.starts_with?(l, locale <> "_") end)