mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +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
|
||||
{[_ | _], []} ->
|
||||
true;
|
||||
{[], [_ | _]} ->
|
||||
{[], _} ->
|
||||
false
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user