mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Make sure to fail if run_modules generates ANY error. Thanks, Rusty. :)
This commit is contained in:
parent
537eaa3bba
commit
be754bb6ef
1 changed files with 2 additions and 2 deletions
|
@ -171,10 +171,10 @@ apply_commands([Command | Rest], Modules, Config, ModuleFile) ->
|
||||||
ok ->
|
ok ->
|
||||||
apply_commands(Rest, Modules, Config, ModuleFile);
|
apply_commands(Rest, Modules, Config, ModuleFile);
|
||||||
{error, failed} ->
|
{error, failed} ->
|
||||||
error;
|
?FAIL;
|
||||||
Other ->
|
Other ->
|
||||||
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
|
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
|
||||||
error
|
?FAIL
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue