Merge pull request #766 from crytic/dev-inheritance-graph

Hot fix inheritance graph filename
pull/810/head
Feist Josselin 4 years ago committed by GitHub
commit 189867381f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      slither/printers/inheritance/inheritance_graph.py

@ -189,9 +189,8 @@ class PrinterInheritanceGraph(AbstractPrinter):
Args:
filename(string)
"""
if filename == "":
filename = "contracts.dot"
if filename in ("", "."):
filename = "inheritance-graph.dot"
if not filename.endswith(".dot"):
filename += ".inheritance-graph.dot"
info = "Inheritance Graph: " + filename + "\n"

Loading…
Cancel
Save