浏览代码

Make sure to fail if run_modules generates ANY error. Thanks, Rusty. :)

pull/3/head
Dave Smith 15 年前
父节点
当前提交
be754bb6ef
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/rebar_core.erl

+ 2
- 2
src/rebar_core.erl 查看文件

@ -171,10 +171,10 @@ apply_commands([Command | Rest], Modules, Config, ModuleFile) ->
ok ->
apply_commands(Rest, Modules, Config, ModuleFile);
{error, failed} ->
error;
?FAIL;
Other ->
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
error
?FAIL
end
end.

正在加载...
取消
保存