mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix bug in 8a3344e
when Elixir enabled but no need to compile elixir files
This commit is contained in:
parent
8ac51e63b5
commit
936460212f
@ -668,6 +668,8 @@ compile_erlang_file(Dest, File, ErlOptions) ->
|
|||||||
end.
|
end.
|
||||||
|
|
||||||
-ifdef(ELIXIR_ENABLED).
|
-ifdef(ELIXIR_ENABLED).
|
||||||
|
compile_elixir_files(_, []) ->
|
||||||
|
ok;
|
||||||
compile_elixir_files(Dest, [File | _] = Files) when is_list(Dest) and is_list(File) ->
|
compile_elixir_files(Dest, [File | _] = Files) when is_list(Dest) and is_list(File) ->
|
||||||
BinFiles = [list_to_binary(F) || F <- Files],
|
BinFiles = [list_to_binary(F) || F <- Files],
|
||||||
compile_elixir_files(list_to_binary(Dest), BinFiles);
|
compile_elixir_files(list_to_binary(Dest), BinFiles);
|
||||||
|
Loading…
Reference in New Issue
Block a user