mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +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"),
|
||||
{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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue