summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_prv_do.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_do.erl b/src/rebar_prv_do.erl
index 83e57a1..8e6ee3a 100644
--- a/src/rebar_prv_do.erl
+++ b/src/rebar_prv_do.erl
@@ -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.