diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-02-26 09:55:14 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-02-26 09:55:14 -0500 |
commit | 1ac54972a9c14ac5dddbe463b0c93e5d799d36e0 (patch) | |
tree | 8a19e756cf054d58c8ef6322f09df4ea904a60f4 /src | |
parent | 5396c5b7fec5655d4b07cfa877318be70a4c61c8 (diff) | |
parent | 05c9bf6bbb88243862d56a85d0014cb4085afef2 (diff) |
Merge pull request #192 from talentdeficit/do_over
reset state between tasks run with `do`
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_do.erl | 4 |
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. |