From 8d81b322edff1f1c6ebf242d569e5ad92ccbbd55 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 11 Jun 2012 19:32:41 +0200 Subject: Fix whitespace errors --- src/rebar_templater.erl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') 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. -- cgit v1.1