diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-01-26 19:14:10 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-01-26 19:14:10 -0500 |
commit | 31eb0402ec7a40287e0bbed0e53eabbe17da8f9b (patch) | |
tree | 24cb45e8f108d4b1013ff03f3c1db452edbcfc13 | |
parent | 8dc39de9839b79d19ba9577d655669325184cb75 (diff) | |
parent | b1e886193dce594a6b4358010da329df36d4f20d (diff) |
Merge pull request #117 from tsloughter/master
fix typo in error tuple and throw error in install_deps
-rw-r--r-- | src/rebar_app_discover.erl | 4 |
1 files changed, 2 insertions, 2 deletions
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. |