summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-02-10 18:25:12 +0000
committerrinpatch <rinpatch@sdf.org>2020-02-10 18:25:12 +0000
commit32a7b4dadd5133c58b4de5f8ac05ebd18a174df7 (patch)
treee43851b87449dd9e4f424064c8ccfd4b19f01ade
parent544bdbfb90d764a5aba8ed07c13b842838d76d73 (diff)
parentc55301e760a562ad9988911a8e2ae6b839794a08 (diff)
Merge branch 'fix/compilation-error-docs' into 'develop'
Fix a compilation error under certain circumstances See merge request pleroma/pleroma!2193
-rw-r--r--lib/pleroma/docs/generator.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/generator.ex b/lib/pleroma/docs/generator.ex
index 6b12dcdd9..e0fc8cd02 100644
--- a/lib/pleroma/docs/generator.ex
+++ b/lib/pleroma/docs/generator.ex
@@ -13,7 +13,7 @@ defmodule Pleroma.Docs.Generator do
|> Enum.filter(&String.ends_with?(&1, ".ex"))
|> Enum.map(fn filename ->
module = filename |> String.trim_trailing(".ex") |> Macro.camelize()
- String.to_existing_atom(start <> module)
+ String.to_atom(start <> module)
end)
end
end