pull/2330/head
Simone 9 months ago
parent a9163d2a79
commit c0d4dde299
  1. 4
      slither/__main__.py

@ -268,8 +268,8 @@ def choose_printers(
###################################################################################
def parse_filter_paths(args: argparse.Namespace, filter: bool) -> List[str]:
paths = args.filter_paths if filter else args.include_paths
def parse_filter_paths(args: argparse.Namespace, filter_path: bool) -> List[str]:
paths = args.filter_paths if filter_path else args.include_paths
if paths:
return paths.split(",")
return []

Loading…
Cancel
Save