mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
Add comment for this mysterious behavior
This commit is contained in:
parent
25fab7da69
commit
20a911f9f7
1 changed files with 2 additions and 0 deletions
|
@ -329,6 +329,8 @@ defmodule Mix.Tasks.Pleroma.Config do
|
|||
defp maybe_atomize(arg) when is_binary(arg) do
|
||||
chars = String.codepoints(arg)
|
||||
|
||||
# hack to make sure input like Pleroma.Mailer.Foo is formatted correctly
|
||||
# for matching against values returned by Ecto
|
||||
if "." in chars do
|
||||
:"Elixir.#{arg}"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue