Explorar el Código

Merge pull request #192 from talentdeficit/do_over

reset state between tasks run with `do`
pull/193/head
Fred Hebert hace 10 años
padre
commit
1ac54972a9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/rebar_prv_do.erl

+ 2
- 2
src/rebar_prv_do.erl Ver fichero

@ -42,8 +42,8 @@ do_tasks([{TaskStr, Args}|Tail], State) ->
State1 = rebar_state:set(State, task, Task),
State2 = rebar_state:command_args(State1, Args),
case rebar_core:process_command(State2, Task) of
{ok, State3} ->
do_tasks(Tail, State3);
{ok, _} ->
do_tasks(Tail, State);
Error ->
Error
end.

Cargando…
Cancelar
Guardar