Skip to content

Commit

Permalink
Set license_detections field when building cran package #518
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Aug 8, 2024
1 parent f2f540a commit ad0312c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions minecode/mappers/cran.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def build_packages_from_html(metadata, uri=None, purl=None):
common_data['dependencies'] = get_dependencies(value)
if extracted_license_statement:
common_data['extracted_license_statement'] = extracted_license_statement
common_data['license_detections'] = []

if download_urls: # for else statement will have else running always if there is no break statement
for download_url in download_urls:
Expand Down

0 comments on commit ad0312c

Please sign in to comment.