浏览代码

Merge pull request #117 from tsloughter/master

fix typo in error tuple and throw error in install_deps
pull/118/head
Fred Hebert 10 年前
父节点
当前提交
31eb0402ec
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/rebar_app_discover.erl

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

@ -150,7 +150,7 @@ validate_application_info(AppInfo) ->
{ok, List} -> {ok, List} ->
has_all_beams(EbinDir, List); has_all_beams(EbinDir, List);
_Error -> _Error ->
?PRV_ERROR({modules_list, AppFile})
?PRV_ERROR({module_list, AppFile})
end end
end. end.
@ -174,7 +174,7 @@ has_all_beams(EbinDir, [Module | ModuleList]) ->
true -> true ->
has_all_beams(EbinDir, ModuleList); has_all_beams(EbinDir, ModuleList);
false -> false ->
?PRV_ERROR({missing_module, Module})
throw(?PRV_ERROR({missing_module, Module}))
end; end;
has_all_beams(_, []) -> has_all_beams(_, []) ->
true. true.

正在加载...
取消
保存