pull/1812/head
alpharush 2 years ago
parent 42ed0db443
commit b077fe3e49
  1. 2
      slither/printers/summary/human_summary.py

@ -205,7 +205,7 @@ class PrinterHumanSummary(AbstractPrinter):
def _number_contracts(self): def _number_contracts(self):
if self.slither.crytic_compile is None: if self.slither.crytic_compile is None:
return len(self.slither.contracts), 0, 0 return len(self.slither.contracts), 0, 0
contracts = [c for c in self.slither.contracts] contracts = self.slither.contracts
deps = [c for c in contracts if c.is_from_dependency()] deps = [c for c in contracts if c.is_from_dependency()]
tests = [c for c in contracts if c.is_test] tests = [c for c in contracts if c.is_test]
return len(contracts) - len(deps) - len(tests), len(deps), len(tests) return len(contracts) - len(deps) - len(tests), len(deps), len(tests)

Loading…
Cancel
Save