Skip to content

Commit

Permalink
Merge pull request #726 from crytic/fix-selffilename-when-cryticcompile
Browse files Browse the repository at this point in the history
fix set `self.filename` when using crytic-compile
  • Loading branch information
montyly authored Dec 15, 2020
2 parents e52a2ae + e419002 commit b617195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/slither.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def run_printers(self):
:return: List of registered printers outputs.
"""

return [p.output(self.filename).data for p in self._printers]
return [p.output(self._crytic_compile.target).data for p in self._printers]

@property
def triage_mode(self):
Expand Down

0 comments on commit b617195

Please sign in to comment.