Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correct graphviz node names with hyphen

  • Loading branch information...
commit 06b69456bd21b63562a65ffcb976b4d90225e877 1 parent 3bd9938
@reiddraper reiddraper authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 misc/mapdeps.erl
View
5 misc/mapdeps.erl
@@ -102,8 +102,7 @@ map_rebar(BaseDir, Path, Acc) ->
app_name(Path) ->
%% assumes Path ends in rebar.config
- re:replace(filename:basename(filename:dirname(Path)),
- "-", "_", [global, {return, list}]).
+ filename:basename(filename:dirname(Path)).
file_start() ->
io:format(standard_io, "digraph {~n", []).
@@ -112,4 +111,4 @@ file_end() ->
io:format(standard_io, "}~n", []).
file_edge(From, To) ->
- io:format(standard_io, " ~s -> ~s;~n", [From, To]).
+ io:format(standard_io, " \"~s\" -> ~s;~n", [From, To]).
Please sign in to comment.
Something went wrong with that request. Please try again.