Skip to content

Commit 7f7edeb

Browse files
authored
Fix the bug (#236)
Signed-off-by: jiyeong.seok <[email protected]>
1 parent a45dff7 commit 7f7edeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_dependency/run_dependency_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def run_dependency_scanner(package_manager='', input_dir='', output_dir_file='',
133133
logger.warning(f'{formats[i]} is not supported on Windows.Please remove {formats[i]} from format.')
134134
to_remove.append(i)
135135
else:
136-
if formats[i].stasrtswith('spdx'):
136+
if formats[i].startswith('spdx'):
137137
output_files[i] = f"fosslight_spdx_dep_{_start_time}"
138138
elif formats[i].startswith('cyclonedx'):
139139
output_files[i] = f'fosslight_cyclonedx_dep_{_start_time}'

0 commit comments

Comments
 (0)