summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorserge <saleyn@gmail.com>2012-11-15 16:34:06 -0500
committerserge <saleyn@gmail.com>2012-11-15 16:34:06 -0500
commitedfee29b15cd310e777ffef3e496f1476aab0cac (patch)
tree9a462a8aaff01c1bf7fdb284eb4efc9f615dc000 /src
parent7dad2b384b93889961383f1f75df5be865954639 (diff)
Fix default DTL compilation when no erlydtl_opts are provided
Diffstat (limited to 'src')
-rw-r--r--src/rebar_erlydtl_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl
index b5fe899..aef41c5 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) ->