浏览代码

Fix whitespace errors

pull/3/head
Tuncer Ayaz 13 年前
父节点
当前提交
8d81b322ed
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. +5
    -3
      src/rebar_templater.erl

+ 5
- 3
src/rebar_templater.erl 查看文件

@ -66,9 +66,11 @@
BaseName = filename:basename(F, ".template"),
{ok, Template} = file:consult(F),
{_, VarList} = lists:keyfind(variables, 1, Template),
Vars = lists:foldl(fun({V,_}, Acc) -> [atom_to_list(V)|Acc] end, [], VarList),
?CONSOLE("\t* ~s: ~s (~p) (variables: ~p)\n", [BaseName, F, Type,
string:join(Vars, ", ")])
Vars = lists:foldl(fun({V,_}, Acc) ->
[atom_to_list(V) | Acc]
end, [], VarList),
?CONSOLE("\t* ~s: ~s (~p) (variables: ~p)\n",
[BaseName, F, Type, string:join(Vars, ", ")])
end || {Type, F} <- AvailTemplates],
ok.

正在加载...
取消
保存