Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Valery Pushkar committed Oct 30, 2024
1 parent 3befc96 commit 2397b2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slither/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ def _process(
results_printers = []

if not printer_classes:
detector_resultss = slither.run_detectors()
detector_resultss = [x for x in detector_resultss if x] # remove empty results
detector_results = [item for sublist in detector_resultss for item in sublist] # flatten
detector_results = slither.run_detectors()
detector_results = [x for x in detector_results if x] # remove empty results
detector_results = [item for sublist in detector_results for item in sublist] # flatten
results_detectors.extend(detector_results)

else:
Expand Down

0 comments on commit 2397b2e

Please sign in to comment.