summaryrefslogtreecommitdiff
path: root/src/rebar_prv_do.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_do.erl')
-rw-r--r--src/rebar_prv_do.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rebar_prv_do.erl b/src/rebar_prv_do.erl
index 10888eb..c2bbe2b 100644
--- a/src/rebar_prv_do.erl
+++ b/src/rebar_prv_do.erl
@@ -34,12 +34,12 @@ init(State) ->
do(State) ->
Tasks = args_to_tasks(rebar_state:command_args(State)),
lists:foldl(fun(TaskArgs, {ok, StateAcc}) ->
- [TaskStr | Args] = string:tokens(TaskArgs, " "),
- Task = list_to_atom(TaskStr),
- StateAcc1 = rebar_state:set(StateAcc, task, Task),
- StateAcc2 = rebar_state:command_args(StateAcc1, Args),
- rebar_core:process_command(StateAcc2, Task)
- end, {ok, State}, Tasks).
+ [TaskStr | Args] = string:tokens(TaskArgs, " "),
+ Task = list_to_atom(TaskStr),
+ StateAcc1 = rebar_state:set(StateAcc, task, Task),
+ StateAcc2 = rebar_state:command_args(StateAcc1, Args),
+ rebar_core:process_command(StateAcc2, Task)
+ end, {ok, State}, Tasks).
-spec format_error(any()) -> iolist().
format_error(Reason) ->