Skip to content

Commit

Permalink
Write file on each save
Browse files Browse the repository at this point in the history
  • Loading branch information
utx0 committed Aug 1, 2023
1 parent e5f2a86 commit 4a241c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,7 @@ test_artifacts/
crytic-export/

# Auto-generated Github pages docs
docs/
docs/

# slither.db.json
slither.db.json
1 change: 1 addition & 0 deletions slither/core/slither_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ def write_results_to_hide(self) -> None:

def save_results_to_hide(self, results: List[Dict]) -> None:
self._results_to_hide += results
self.write_results_to_hide()

def add_path_to_filter(self, path: str):
"""
Expand Down

0 comments on commit 4a241c5

Please sign in to comment.