diff options
author | Serge Aleynikov <saleyn@gmail.com> | 2015-12-19 00:19:33 -0500 |
---|---|---|
committer | Serge Aleynikov <saleyn@gmail.com> | 2016-02-08 19:22:52 -0500 |
commit | 8497a50fcef78e50a24518a10f5fb8b05015482d (patch) | |
tree | 6e9b09af17103660e99726bf2547b6e44a7b4ba8 | |
parent | 632db19470fadf698c36668ffe10f4a0d099a598 (diff) |
Change output to use ?CONSOLE macro
-rw-r--r-- | src/rebar_prv_state.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_state.erl b/src/rebar_prv_state.erl index 244e0d0..dc75c7a 100644 --- a/src/rebar_prv_state.erl +++ b/src/rebar_prv_state.erl @@ -35,8 +35,8 @@ init(State) -> -spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}. do(State) -> L = rebar_state:to_list(State), - io:put_chars("State:\n"), - [?CONSOLE(" ~w: ~p\n", [K, V]) || {K,V} <- L], + ?CONSOLE("State:", []), + [?CONSOLE(" ~w: ~p", [K, V]) || {K,V} <- L], {ok, State}. -spec format_error(any()) -> iolist(). |