瀏覽代碼

Fix #205 (erlydtl:compile/3 returns warnings)

Adapt rebar_erlydtl_compiler to handle warnings emitted by
erlydtl:compile/3.
pull/3/head
Tuncer Ayaz 11 年之前
父節點
當前提交
03e7993402
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      src/rebar_erlydtl_compiler.erl

+ 2
- 0
src/rebar_erlydtl_compiler.erl 查看文件

@ -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…
取消
儲存