Use Kernel.inspect/2 to print loaded custom modules
This commit is contained in:
parent
157bceeda9
commit
e4292cbfad
|
@ -82,8 +82,7 @@ def load_custom_modules do
|
||||||
|
|
||||||
{:ok, modules, _warnings} ->
|
{:ok, modules, _warnings} ->
|
||||||
Enum.each(modules, fn mod ->
|
Enum.each(modules, fn mod ->
|
||||||
name = mod |> Atom.to_string() |> String.trim_leading("Elixir.")
|
IO.puts("Custom module loaded: #{inspect(mod)}")
|
||||||
IO.puts("Custom module loaded: #{name}")
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
:ok
|
:ok
|
||||||
|
|
Loading…
Reference in a new issue