Skip to content

Commit a5331c0

Browse files
committed
Fix the pypi result when pip-licenses package exists
Signed-off-by: Jiyeong Seok <[email protected]>
1 parent af3770b commit a5331c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_dependency/_analyze_dependency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def analyze_dependency(package_manager_name, input_dir, output_dir, pip_activate
5656
logger.info("Parse oss information with file: " + str(f_name))
5757

5858
if os.path.isfile(f_name):
59-
package_sheet_list = package_manager.parse_oss_information(f_name)
59+
package_sheet_list.extend(package_manager.parse_oss_information(f_name))
6060
else:
6161
logger.error('Failed to open input file:' + str(f_name))
6262
ret = False

0 commit comments

Comments
 (0)