commit: 20a911f9f725088e841f2ebce220b26b1b4fe222
parent 25fab7da69e2a6019598132e5d776d7cebe42045
Author: Mark Felder <feld@FreeBSD.org>
Date: Wed, 2 Dec 2020 14:22:59 -0600
Add comment for this mysterious behavior
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/mix/tasks/pleroma/config.ex b/lib/mix/tasks/pleroma/config.ex
@@ -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