From: Mark Felder Date: Wed, 2 Dec 2020 20:22:59 +0000 (-0600) Subject: Add comment for this mysterious behavior X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=20a911f9f725088e841f2ebce220b26b1b4fe222;p=akkoma Add comment for this mysterious behavior --- diff --git a/lib/mix/tasks/pleroma/config.ex b/lib/mix/tasks/pleroma/config.ex index e53e21a0b..e2c4cc680 100644 --- 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