mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
rebar_erlydtl_compiler: fix incorrect lists:keysort/2 call
This commit is contained in:
parent
0c8dd15c79
commit
93f6ef36af
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ erlydtl_opts(Config) ->
|
|||
Tuples = [{K,V} || {K,V} <- Opts],
|
||||
case [L || L <- Opts, is_list(L), not io_lib:printable_list(L)] of
|
||||
[] ->
|
||||
lists:keysort(1, [Tuples]);
|
||||
lists:keysort(1, Tuples);
|
||||
Lists ->
|
||||
lists:map(fun(L) ->
|
||||
lists:keysort(1, lists:foldl(fun({K,T}, Acc) ->
|
||||
|
|
Loading…
Reference in a new issue