summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-06-11 19:32:41 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-06-11 19:33:16 +0200
commit8d81b322edff1f1c6ebf242d569e5ad92ccbbd55 (patch)
treefeb449949547d45d8fab55f94037951ef00777f2
parent4414f6548ac60b8083f00e5da267198e9d842558 (diff)
Fix whitespace errors
-rw-r--r--src/rebar_templater.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl
index 98fa245..1e015ee 100644
--- a/src/rebar_templater.erl
+++ b/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.