You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both the inheritance-graph and call-graph printers will create a dot file which does not include the filename. inheritance-graph creates contracts.dot, call-graph creates all_contracts.dot. This is problematic when running these slither printers an multiple files during multiple runs, as the outputted dot files always have these same names.
The fix seems to be adding call-graph and inheritance-graph in the outputted filenames, as well as the name of the file, as in: Filename.sol.call-graph.dot and Filename.sol.inheritance-graph.dot.
Let me know if you agree or have other ideas and I will create a PR.
The text was updated successfully, but these errors were encountered:
Both the
inheritance-graph
andcall-graph
printers will create a dot file which does not include the filename.inheritance-graph
createscontracts.dot
,call-graph
createsall_contracts.dot
. This is problematic when running these slither printers an multiple files during multiple runs, as the outputted dot files always have these same names.The fix seems to be adding
call-graph
andinheritance-graph
in the outputted filenames, as well as the name of the file, as in:Filename.sol.call-graph.dot
andFilename.sol.inheritance-graph.dot
.Let me know if you agree or have other ideas and I will create a PR.
The text was updated successfully, but these errors were encountered: