Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
ca90843d13
commit
d817bae802
@ -317,6 +317,8 @@ defmodule Mix.Tasks.Pleroma.Config do
|
|||||||
|
|
||||||
defp maybe_atomize(arg) when is_atom(arg), do: arg
|
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
|
defp maybe_atomize(arg) when is_binary(arg) do
|
||||||
if ConfigDB.module_name?(arg) do
|
if ConfigDB.module_name?(arg) do
|
||||||
String.to_existing_atom("Elixir." <> arg)
|
String.to_existing_atom("Elixir." <> arg)
|
||||||
|
Loading…
Reference in New Issue
Block a user