Remove IO.inspect from module_supervisor init
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ defmodule Omnibot.ModuleSupervisor do
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Add each child to the "loaded modules" list in the State
|
# 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)
|
Supervisor.init(children, strategy: :one_for_one)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user