Skip to content

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
Signed-off-by: Wonjae Park <j.wonjae.park@gmail.com>
  • Loading branch information
JustinWonjaePark committed Jul 10, 2024
1 parent 2ed190f commit 1e3b647
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/fosslight_source/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,11 @@ def create_report_file(_start_time, merged_result, license_list, scanoss_result,
else:
output_path = os.path.abspath(output_path)

if output_files and output_files[0]:
# If -o contains file name, set all output file name and dont' use default name
output_files = [output_files[0] for _ in range(len(output_extensions))]
else:
# if output_files and output_files[0]:
# # If -o contains file name, set all output file name and dont' use default name
# output_files = [output_files[0] for _ in range(len(output_extensions))]
# else:
if not output_files:
# If -o does not contains file name, set default name
while len(output_files) < len(output_extensions):
output_files.append(None)
Expand Down

0 comments on commit 1e3b647

Please sign in to comment.