aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_topo.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-09-14 13:15:47 -0500
committerTristan Sloughter <[email protected]>2013-09-16 11:12:22 -0500
commitd72e2cda09df280e1e690d9233790ebbb9e58812 (patch)
tree4ab69650fb2d57a4c7c063914f4a2b5a02319e3e /src/rlx_topo.erl
parent8606f9cb6d5f71611643780235bc0e57a757a759 (diff)
downloadrelx-d72e2cda09df280e1e690d9233790ebbb9e58812.tar.gz
relx-d72e2cda09df280e1e690d9233790ebbb9e58812.tar.bz2
relx-d72e2cda09df280e1e690d9233790ebbb9e58812.zip
improved user output look
Diffstat (limited to 'src/rlx_topo.erl')
-rw-r--r--src/rlx_topo.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlx_topo.erl b/src/rlx_topo.erl
index 11928c1..1b3593b 100644
--- a/src/rlx_topo.erl
+++ b/src/rlx_topo.erl
@@ -71,9 +71,9 @@ format_error({cycle, Pairs}) ->
"before we can continue:\n",
case Pairs of
[{P1, P2}] ->
- [rlx_util:indent(1), erlang:atom_to_list(P2), "->", erlang:atom_to_list(P1)];
+ [rlx_util:indent(2), erlang:atom_to_list(P2), "->", erlang:atom_to_list(P1)];
[{P1, P2} | Rest] ->
- [rlx_util:indent(1), erlang:atom_to_list(P2), "->", erlang:atom_to_list(P1),
+ [rlx_util:indent(2), erlang:atom_to_list(P2), "->", erlang:atom_to_list(P1),
[["-> ", erlang:atom_to_list(PP2), " -> ", erlang:atom_to_list(PP1)] || {PP1, PP2} <- Rest]];
[] ->
[]