summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2014-01-14 18:31:57 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2014-01-14 18:38:53 +0100
commit3c1b8193690ccba7a253a674002c81ac64f90e06 (patch)
tree8fe6efae064101dbcfbf6e5c8272d0dee85bcd97
parent03e7993402d77d15fed31df74206b00cfdd54f9d (diff)
erlydtl: add missing clause (Reported-by: goofansu)
erlydtl implemented 'binary' option. Add new clause for {binary, false}.
-rw-r--r--src/rebar_erlydtl_compiler.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl
index 27c378d..fea8ea6 100644
--- a/src/rebar_erlydtl_compiler.erl
+++ b/src/rebar_erlydtl_compiler.erl
@@ -210,6 +210,8 @@ do_compile(Config, Source, Target, DtlOpts) ->
Opts) of
ok ->
ok;
+ {ok, _Mod, Ws} ->
+ rebar_base_compiler:ok_tuple(Config, Source, Ws);
{ok, _Mod, _Bin, Ws} ->
rebar_base_compiler:ok_tuple(Config, Source, Ws);
error ->