Selaa lähdekoodia

Merge pull request #117 from tsloughter/master

fix typo in error tuple and throw error in install_deps
pull/118/head
Fred Hebert 10 vuotta sitten
vanhempi
commit
31eb0402ec
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      src/rebar_app_discover.erl

+ 2
- 2
src/rebar_app_discover.erl Näytä tiedosto

@ -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.

Ladataan…
Peruuta
Tallenna