25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

ext_mod: Handle case when contrib module has no *.ex and no *.erl

This commit is contained in:
Badlop 2024-07-02 13:43:01 +02:00
parent 4258d3dc24
commit 543b874a10

View File

@ -1195,7 +1195,7 @@ is_elixir_module(Module) ->
filelib:wildcard(Src++"/*.{erl}")} of filelib:wildcard(Src++"/*.{erl}")} of
{[_ | _], []} -> {[_ | _], []} ->
true; true;
{[], [_ | _]} -> {[], _} ->
false false
end. end.