summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-08-24 15:55:11 -0500
committerTristan Sloughter <t@crashfast.com>2014-08-24 15:55:11 -0500
commitf72a38c3b3d409dca529697cb3d3715cbf76a1bf (patch)
treee30e2e51f6f5952ca323a02157d300cc81e9f6e9
parent6b979705304af00344bb26babc23d02ae8843516 (diff)
use INFO instead of CONSOLE in templater
-rw-r--r--src/rebar_templater.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl
index 8a01318..a71bae2 100644
--- a/src/rebar_templater.erl
+++ b/src/rebar_templater.erl
@@ -61,7 +61,7 @@ list_templates(State) ->
Vars = lists:foldl(fun({V,_}, Acc) ->
[atom_to_list(V) | Acc]
end, [], VarList),
- ?CONSOLE(" * ~s: ~s (~p) (variables: ~p)\n",
+ ?INFO(" * ~s: ~s (~p) (variables: ~p)\n",
[BaseName, F, Type, string:join(Vars, ", ")])
end, AvailTemplates),
ok.
@@ -307,10 +307,10 @@ write_file(Output, Data, Force) ->
ok = filelib:ensure_dir(Output),
case {Force, FileExists} of
{"1", true} ->
- ?CONSOLE("Writing ~s (forcibly overwriting)~n",
+ ?INFO("Writing ~s (forcibly overwriting)~n",
[Output]);
_ ->
- ?CONSOLE("Writing ~s~n", [Output])
+ ?INFO("Writing ~s~n", [Output])
end,
case file:write_file(Output, Data) of
ok ->