diff --git a/src/fosslight_dependency/run_dependency_scanner.py b/src/fosslight_dependency/run_dependency_scanner.py index 6d3b1466..264355a4 100755 --- a/src/fosslight_dependency/run_dependency_scanner.py +++ b/src/fosslight_dependency/run_dependency_scanner.py @@ -133,7 +133,7 @@ def run_dependency_scanner(package_manager='', input_dir='', output_dir_file='', logger.warning(f'{formats[i]} is not supported on Windows.Please remove {formats[i]} from format.') to_remove.append(i) else: - if formats[i].stasrtswith('spdx'): + if formats[i].startswith('spdx'): output_files[i] = f"fosslight_spdx_dep_{_start_time}" elif formats[i].startswith('cyclonedx'): output_files[i] = f'fosslight_cyclonedx_dep_{_start_time}'