Skip to content

Commit a705382

Browse files
committed
return referenced_filenames for licenses matches
Signed-off-by: akugarg <[email protected]>
1 parent 0dd52df commit a705382

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scancode/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ def _licenses_data_from_match(
266266
matched_rule['identifier'] = match.rule.identifier
267267
matched_rule['license_expression'] = match.rule.license_expression
268268
matched_rule['licenses'] = match.rule.license_keys()
269+
matched_rule['referenced_filenames'] = match.rule.referenced_filenames
269270
matched_rule['is_license_text'] = match.rule.is_license_text
270271
matched_rule['is_license_notice'] = match.rule.is_license_notice
271272
matched_rule['is_license_reference'] = match.rule.is_license_reference

0 commit comments

Comments
 (0)