diff --git a/bin/sarif-aggregate-scans b/bin/sarif-aggregate-scans index de1a0a7..22d2d28 100755 --- a/bin/sarif-aggregate-scans +++ b/bin/sarif-aggregate-scans @@ -131,11 +131,10 @@ for path in paths: # Paths and components # path = path.rstrip() - project, component = path.split('/') # # Validate input data directory and content # - output_dir = os.path.join(args.in_dir+project, component + ".scantables") + output_dir = os.path.join(args.in_dir+ path + ".scantables") if not os.path.exists(output_dir): continue if not _all_csv_files_exist(output_dir): diff --git a/bin/sarif-create-aggregate-report b/bin/sarif-create-aggregate-report index b84861e..fa85833 100755 --- a/bin/sarif-create-aggregate-report +++ b/bin/sarif-create-aggregate-report @@ -56,11 +56,10 @@ data = [] for path in paths: path = path.rstrip() - project, component = path.split('/') # # Validate input data directory and content # - csv_infile = os.path.join(args.in_dir+project, component + ".csv") + csv_infile = os.path.join(args.in_dir+ path + ".csv") if not os.path.exists(csv_infile): continue else: