summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Morrow <jared@basho.com>2014-01-16 14:09:43 -0800
committerJared Morrow <jared@basho.com>2014-01-16 14:09:43 -0800
commit477fbabfa801defb05b4e28e7edef26ce8a623f5 (patch)
tree67cad99f91b8f28ee339fa2baae795e0e99d75eb
parent5d2b9ba23f8e32ad4f99850a71c62d8b7df262d8 (diff)
parent3c1b8193690ccba7a253a674002c81ac64f90e06 (diff)
Merge pull request #210 from tuncer/erlydtl-warnings
Fix #205 (erlydtl:compile/3 returns warnings)
-rw-r--r--src/rebar_erlydtl_compiler.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl
index 6172879..fea8ea6 100644
--- a/src/rebar_erlydtl_compiler.erl
+++ b/src/rebar_erlydtl_compiler.erl
@@ -210,6 +210,10 @@ 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 ->
rebar_base_compiler:error_tuple(Config, Source, [], [], Opts);
{error, {_File, _Msgs} = Error} ->