Skip to content

Commit 563475a

Browse files
authored
Fixed --exclude flag (#19)
1 parent 8af3bd2 commit 563475a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stacy_analyzer/analyzer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def main(self):
5656
user_args = arg_parser.parse_args()
5757
if user_args.command == "lint":
5858
filters = list(self.DETECTOR_MAP.keys()) if user_args.filter is None else user_args.filter[0].split(',')
59-
excludes = [] if user_args.exclude is None else user_args.exclude.split(',')
59+
excludes = [] if user_args.exclude is None else user_args.exclude[0].split(',')
6060
detectors = self.get_detectors(filters, excludes)
6161
path = user_args.path
6262
if path.endswith(".clar"):

0 commit comments

Comments
 (0)