From 2397b2e8126beb30181791411c152de1c48f329c Mon Sep 17 00:00:00 2001 From: Valery Pushkar Date: Wed, 30 Oct 2024 12:55:58 +0300 Subject: [PATCH] chore: fix typo --- slither/__main__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slither/__main__.py b/slither/__main__.py index 633ad68cf..15b3479d7 100644 --- a/slither/__main__.py +++ b/slither/__main__.py @@ -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: