Skip to content

Commit edbf1f1

Browse files
committed
Ignore dot-to-dot conversion in outputDot
1 parent fb6b442 commit edbf1f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ func outputDot(fname string, outputFormat string) {
108108
log.Fatalf("%v\n", writeErr)
109109
}
110110

111+
if outputFormat == "dot" {
112+
return
113+
}
114+
111115
log.Printf("converting dot to %s\n", outputFormat)
112116

113117
_, err = dotToImage(fname, outputFormat, output)

0 commit comments

Comments
 (0)