summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-01-26 18:02:06 -0600
committerTristan Sloughter <t@crashfast.com>2015-01-26 18:02:38 -0600
commitb1e886193dce594a6b4358010da329df36d4f20d (patch)
tree24cb45e8f108d4b1013ff03f3c1db452edbcfc13 /src
parent8dc39de9839b79d19ba9577d655669325184cb75 (diff)
fix typo in error tuple and throw error in install_deps
Diffstat (limited to 'src')
-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.