Remove IO.inspect from module_supervisor init

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-06-13 18:11:03 -04:00
parent 4d27e30b88
commit b1640a8c44

View File

@@ -29,7 +29,7 @@ defmodule Omnibot.ModuleSupervisor do
end
# Add each child to the "loaded modules" list in the State
Enum.each(IO.inspect(children), fn {module, opts} -> State.add_loaded_module({module, opts[:cfg]}) end)
Enum.each(children, fn {module, opts} -> State.add_loaded_module({module, opts[:cfg]}) end)
Supervisor.init(children, strategy: :one_for_one)
end