diff options
-rw-r--r-- | src/rebar_log.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_log.erl b/src/rebar_log.erl index 347cda4..781da62 100644 --- a/src/rebar_log.erl +++ b/src/rebar_log.erl @@ -57,7 +57,7 @@ set_level(Level) -> log(Level = error, Str, Args) -> {ok, LogState} = application:get_env(rebar, log), - ec_cmd_log:Level(LogState, cf:format("~!^~s~n", [Str]), Args); + ec_cmd_log:Level(LogState, lists:flatten(cf:format("~!^~s~n", [Str])), Args); log(Level, Str, Args) -> {ok, LogState} = application:get_env(rebar, log), ec_cmd_log:Level(LogState, Str++"~n", Args). |