summaryrefslogtreecommitdiff
path: root/src/rebar_app_discover.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-01-26 19:14:10 -0500
committerFred Hebert <mononcqc@ferd.ca>2015-01-26 19:14:10 -0500
commit31eb0402ec7a40287e0bbed0e53eabbe17da8f9b (patch)
tree24cb45e8f108d4b1013ff03f3c1db452edbcfc13 /src/rebar_app_discover.erl
parent8dc39de9839b79d19ba9577d655669325184cb75 (diff)
parentb1e886193dce594a6b4358010da329df36d4f20d (diff)
Merge pull request #117 from tsloughter/master
fix typo in error tuple and throw error in install_deps
Diffstat (limited to 'src/rebar_app_discover.erl')
-rw-r--r--src/rebar_app_discover.erl4
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.