Przeglądaj źródła

Make sure to fail if run_modules generates ANY error. Thanks, Rusty. :)

pull/3/head
Dave Smith 15 lat temu
rodzic
commit
be754bb6ef
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      src/rebar_core.erl

+ 2
- 2
src/rebar_core.erl Wyświetl plik

@ -171,10 +171,10 @@ apply_commands([Command | Rest], Modules, Config, ModuleFile) ->
ok ->
apply_commands(Rest, Modules, Config, ModuleFile);
{error, failed} ->
error;
?FAIL;
Other ->
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
error
?FAIL
end
end.

Ładowanie…
Anuluj
Zapisz