mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix whitespace errors
This commit is contained in:
parent
4414f6548a
commit
8d81b322ed
1 changed files with 5 additions and 3 deletions
|
@ -66,9 +66,11 @@
|
||||||
BaseName = filename:basename(F, ".template"),
|
BaseName = filename:basename(F, ".template"),
|
||||||
{ok, Template} = file:consult(F),
|
{ok, Template} = file:consult(F),
|
||||||
{_, VarList} = lists:keyfind(variables, 1, Template),
|
{_, VarList} = lists:keyfind(variables, 1, Template),
|
||||||
Vars = lists:foldl(fun({V,_}, Acc) -> [atom_to_list(V)|Acc] end, [], VarList),
|
Vars = lists:foldl(fun({V,_}, Acc) ->
|
||||||
?CONSOLE("\t* ~s: ~s (~p) (variables: ~p)\n", [BaseName, F, Type,
|
[atom_to_list(V) | Acc]
|
||||||
string:join(Vars, ", ")])
|
end, [], VarList),
|
||||||
|
?CONSOLE("\t* ~s: ~s (~p) (variables: ~p)\n",
|
||||||
|
[BaseName, F, Type, string:join(Vars, ", ")])
|
||||||
end || {Type, F} <- AvailTemplates],
|
end || {Type, F} <- AvailTemplates],
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue