mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +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 ->
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue