diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-10-22 12:03:34 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-10-22 12:05:14 -0500 |
commit | bd1501f079aea3d2a991343224f2b9fc472f5d5f (patch) | |
tree | 7d2bea9492958d0fc5d0233c25aff90b94144ac8 /src/rebar_topo.erl | |
parent | da75d73b2fd1801826dbc2fc6173afe471059f0f (diff) |
fix format_error cycle
Diffstat (limited to 'src/rebar_topo.erl')
-rw-r--r-- | src/rebar_topo.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_topo.erl b/src/rebar_topo.erl index 26ebbc4..de3351a 100644 --- a/src/rebar_topo.erl +++ b/src/rebar_topo.erl @@ -76,10 +76,10 @@ format_error({cycle, Pairs}) -> "before we can continue:\n", case Pairs of [{P1, P2}] -> - [rebar_utils:indent(2), P2, "->", P1]; + [rebar_utils:indent(2), erlang:atom_to_list(P2), "->", erlang:atom_to_list(P1)]; [{P1, P2} | Rest] -> - [rebar_utils:indent(2), P2, "->", P1, - [["-> ", PP2, " -> ", PP1] || {PP1, PP2} <- Rest]]; + [rebar_utils: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]]; [] -> [] end]. |