Browse Source

Merge pull request #210 from tuncer/erlydtl-warnings

Fix #205 (erlydtl:compile/3 returns warnings)
pull/3/head
Jared Morrow 11 years ago
parent
commit
477fbabfa8
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/rebar_erlydtl_compiler.erl

+ 4
- 0
src/rebar_erlydtl_compiler.erl 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} ->

Loading…
Cancel
Save