Remove safe_concat to list not compiled module in hooks events

This commit is contained in:
Simon Prévost 2024-03-05 08:32:57 -05:00
parent 735dbf9963
commit f2c5e8dec6

View File

@ -8,7 +8,7 @@ defmodule Accent.Hook.Events do
event_modules =
for name <- paths do
Module.safe_concat(__MODULE__, Phoenix.Naming.camelize(Path.basename(name, ".ex")))
Module.concat(__MODULE__, Phoenix.Naming.camelize(Path.basename(name, ".ex")))
end
@event_modules event_modules