From 8497a50fcef78e50a24518a10f5fb8b05015482d Mon Sep 17 00:00:00 2001 From: Serge Aleynikov Date: Sat, 19 Dec 2015 00:19:33 -0500 Subject: Change output to use ?CONSOLE macro --- src/rebar_prv_state.erl | 4 ++-- 1 file 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(). -- cgit v1.1