forked from AkkomaGang/akkoma
Merge branch 'fix/compilation-error-docs' into 'develop'
Fix a compilation error under certain circumstances See merge request pleroma/pleroma!2193
This commit is contained in:
commit
32a7b4dadd
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ def list_modules_in_dir(dir, start) do
|
||||||
|> Enum.filter(&String.ends_with?(&1, ".ex"))
|
|> Enum.filter(&String.ends_with?(&1, ".ex"))
|
||||||
|> Enum.map(fn filename ->
|
|> Enum.map(fn filename ->
|
||||||
module = filename |> String.trim_trailing(".ex") |> Macro.camelize()
|
module = filename |> String.trim_trailing(".ex") |> Macro.camelize()
|
||||||
String.to_existing_atom(start <> module)
|
String.to_atom(start <> module)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue