Write file on each save

pull/2071/head
LUKE™ 1 year ago
parent e5f2a86f09
commit 4a241c5868
  1. 3
      .gitignore
  2. 1
      slither/core/slither_core.py

3
.gitignore vendored

@ -115,3 +115,6 @@ crytic-export/
# Auto-generated Github pages docs # Auto-generated Github pages docs
docs/ docs/
# slither.db.json
slither.db.json

@ -466,6 +466,7 @@ class SlitherCore(Context):
def save_results_to_hide(self, results: List[Dict]) -> None: def save_results_to_hide(self, results: List[Dict]) -> None:
self._results_to_hide += results self._results_to_hide += results
self.write_results_to_hide()
def add_path_to_filter(self, path: str): def add_path_to_filter(self, path: str):
""" """

Loading…
Cancel
Save