Skip to content

Commit

Permalink
filePosition: fixed wrong call to attributes for dot edges
Browse files Browse the repository at this point in the history
  • Loading branch information
gentzeng committed Jul 17, 2020
1 parent 2b750cc commit 42f5906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func printOutput(
// omit duplicate calls, except for tooltip enhancements
key := fmt.Sprintf("%s = %s => %s", caller.Func, edge.Description(), callee.Func)
if _, ok := edgeMap[key]; !ok {
edgeMap[key].Attrs["tooltip"] = fileEdge
attrs["tooltip"] = fileEdge
e := &dotEdge{
From: callerNode,
To: calleeNode,
Expand Down

0 comments on commit 42f5906

Please sign in to comment.