From 563475ae8af73c04c18ae9d91681dc2640ef6a3f Mon Sep 17 00:00:00 2001 From: Facundo Lerena Date: Fri, 12 Jul 2024 13:46:21 -0300 Subject: [PATCH] Fixed `--exclude` flag (#19) --- src/stacy_analyzer/analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stacy_analyzer/analyzer.py b/src/stacy_analyzer/analyzer.py index 94700c8..63a4eff 100644 --- a/src/stacy_analyzer/analyzer.py +++ b/src/stacy_analyzer/analyzer.py @@ -56,7 +56,7 @@ def main(self): user_args = arg_parser.parse_args() if user_args.command == "lint": filters = list(self.DETECTOR_MAP.keys()) if user_args.filter is None else user_args.filter[0].split(',') - excludes = [] if user_args.exclude is None else user_args.exclude.split(',') + excludes = [] if user_args.exclude is None else user_args.exclude[0].split(',') detectors = self.get_detectors(filters, excludes) path = user_args.path if path.endswith(".clar"):