Do not bind unused tail from 675cc3e

This commit is contained in:
Christophe Romain 2017-10-31 11:25:01 +01:00
parent 675cc3e0ea
commit 8cb71255eb
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ get_module_file(App, Mod) ->
filename:join([Dir, BaseName ++ ".beam"])
end.
module_name([Dir, _, <<H,T/binary>> | _] = Mod) when H >= 65, H =< 90 ->
module_name([Dir, _, <<H,_/binary>> | _] = Mod) when H >= 65, H =< 90 ->
Module = str:join([elixir_name(M) || M<-tl(Mod)], <<>>),
Prefix = case elixir_name(Dir) of
<<"Ejabberd">> -> <<"Elixir.Ejabberd.">>;