mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
ca90843d13
commit
d817bae802
1 changed files with 2 additions and 0 deletions
|
@ -317,6 +317,8 @@ defmodule Mix.Tasks.Pleroma.Config do
|
|||
|
||||
defp maybe_atomize(arg) when is_atom(arg), do: arg
|
||||
|
||||
defp maybe_atomize(":" <> arg), do: maybe_atomize(arg)
|
||||
|
||||
defp maybe_atomize(arg) when is_binary(arg) do
|
||||
if ConfigDB.module_name?(arg) do
|
||||
String.to_existing_atom("Elixir." <> arg)
|
||||
|
|
Loading…
Reference in a new issue