Add comment for this mysterious behavior

This commit is contained in:
Mark Felder 2020-12-02 14:22:59 -06:00
parent 25fab7da69
commit 20a911f9f7

View File

@ -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