浏览代码

Fixed error log formating

pull/902/head
Heinz N. Gies 9 年前
父节点
当前提交
afd2b9b4fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_log.erl

+ 1
- 1
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).

正在加载...
取消
保存