Skip to content

Commit

Permalink
Fixed --exclude flag (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
faculerena authored Jul 12, 2024
1 parent 8af3bd2 commit 563475a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stacy_analyzer/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 563475a

Please sign in to comment.