diff options
author | Heinz N. Gies <heinz@licenser.net> | 2015-11-01 16:20:38 +0100 |
---|---|---|
committer | Heinz N. Gies <heinz@licenser.net> | 2015-11-01 16:20:38 +0100 |
commit | afd2b9b4fb2f7151a0eae1f2be876b05e7544a17 (patch) | |
tree | 7b9de0a6ebbd3133e9d5fb90d3883f1d76c2b9a7 | |
parent | 8d22f7d368230d39aa2db34e78b01ce6868fbab7 (diff) |
Fixed error log formating
-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). |