Rename module_supervisor.ex -> plugin/supervisor.ex, and PluginSupervisor -> Plugin.Supervisor

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-07-02 18:53:45 -07:00
parent d73dabef43
commit a190114a30
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
defmodule Omnibot.PluginSupervisor do
defmodule Omnibot.Plugin.Supervisor do
@moduledoc false
use Supervisor

View File

@@ -16,7 +16,7 @@ defmodule Omnibot.Supervisor do
children = [
{Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one},
{Omnibot.State, cfg: cfg, name: Omnibot.State},
{Omnibot.PluginSupervisor, cfg: cfg, name: Omnibot.PluginSupervisor},
{Omnibot.Plugin.Supervisor, cfg: cfg, name: Omnibot.Plugin.Supervisor},
] ++ unless IEx.started?(),
do: [{Omnibot.Irc, name: Omnibot.Irc}],
else: []