fix: Convert locale name to atom to pass type check in Linguist

This commit is contained in:
Robert Prehn 2021-06-03 13:31:12 -05:00
parent 538364eae3
commit f1f6e40b3b

View file

@ -12,6 +12,7 @@ defmodule Legendary.I18n do
path path
|> Path.basename() |> Path.basename()
|> Path.rootname() |> Path.rootname()
|> String.to_atom()
locale locale, path locale locale, path
end) end)