Merge pull request #210 from tuncer/erlydtl-warnings

Fix #205 (erlydtl:compile/3 returns warnings)
This commit is contained in:
Jared Morrow 2014-01-16 14:09:43 -08:00
commit 477fbabfa8

View file

@ -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} ->