From b1e886193dce594a6b4358010da329df36d4f20d Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 26 Jan 2015 18:02:06 -0600 Subject: fix typo in error tuple and throw error in install_deps --- src/rebar_app_discover.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_app_discover.erl b/src/rebar_app_discover.erl index 8add9e7..9e9b8e9 100644 --- a/src/rebar_app_discover.erl +++ b/src/rebar_app_discover.erl @@ -150,7 +150,7 @@ validate_application_info(AppInfo) -> {ok, List} -> has_all_beams(EbinDir, List); _Error -> - ?PRV_ERROR({modules_list, AppFile}) + ?PRV_ERROR({module_list, AppFile}) end end. @@ -174,7 +174,7 @@ has_all_beams(EbinDir, [Module | ModuleList]) -> true -> has_all_beams(EbinDir, ModuleList); false -> - ?PRV_ERROR({missing_module, Module}) + throw(?PRV_ERROR({missing_module, Module})) end; has_all_beams(_, []) -> true. -- cgit v1.1