diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-11-10 21:49:52 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-11-11 00:14:42 +0100 |
commit | 93f6ef36af5c22ae6aa548ea74bf2e0901ad7672 (patch) | |
tree | 16ce00cbf9f4ce40181b0a229c06b9b4838c9486 | |
parent | 0c8dd15c792b690abc19ac74025077eb1bc7281e (diff) |
rebar_erlydtl_compiler: fix incorrect lists:keysort/2 call
-rw-r--r-- | src/rebar_erlydtl_compiler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl index 25981b2..b5fe899 100644 --- a/src/rebar_erlydtl_compiler.erl +++ b/src/rebar_erlydtl_compiler.erl @@ -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) -> |