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:
parent
4258d3dc24
commit
543b874a10
@ -1195,7 +1195,7 @@ is_elixir_module(Module) ->
|
|||||||
filelib:wildcard(Src++"/*.{erl}")} of
|
filelib:wildcard(Src++"/*.{erl}")} of
|
||||||
{[_ | _], []} ->
|
{[_ | _], []} ->
|
||||||
true;
|
true;
|
||||||
{[], [_ | _]} ->
|
{[], _} ->
|
||||||
false
|
false
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user