mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Fix #205 (erlydtl:compile/3 returns warnings)
Adapt rebar_erlydtl_compiler to handle warnings emitted by erlydtl:compile/3.
This commit is contained in:
parent
df42410cf2
commit
03e7993402
1 changed files with 2 additions and 0 deletions
|
@ -210,6 +210,8 @@ do_compile(Config, Source, Target, DtlOpts) ->
|
||||||
Opts) of
|
Opts) of
|
||||||
ok ->
|
ok ->
|
||||||
ok;
|
ok;
|
||||||
|
{ok, _Mod, _Bin, Ws} ->
|
||||||
|
rebar_base_compiler:ok_tuple(Config, Source, Ws);
|
||||||
error ->
|
error ->
|
||||||
rebar_base_compiler:error_tuple(Config, Source, [], [], Opts);
|
rebar_base_compiler:error_tuple(Config, Source, [], [], Opts);
|
||||||
{error, {_File, _Msgs} = Error} ->
|
{error, {_File, _Msgs} = Error} ->
|
||||||
|
|
Loading…
Reference in a new issue