Merge pull request #1012 from justforfunya/patch-1

fix  modifiers  no json output file bug
pull/1045/head
Feist Josselin 3 years ago committed by GitHub
commit 2b5de636bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/printers/summary/modifier_calls.py

@ -38,6 +38,8 @@ class Modifiers(AbstractPrinter):
table.add_row([function.name, [m.name for m in set(modifiers)]])
txt += "\n" + str(table)
self.info(txt)
all_txt += txt
all_tables.append((contract.name, table))
res = self.generate_output(all_txt)
for name, table in all_tables:

Loading…
Cancel
Save