diff options
Diffstat (limited to 'rules/license/license_aspect.bzl')
-rw-r--r-- | rules/license/license_aspect.bzl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/license/license_aspect.bzl b/rules/license/license_aspect.bzl index 1b6d27d5..2302137b 100644 --- a/rules/license/license_aspect.bzl +++ b/rules/license/license_aspect.bzl @@ -87,6 +87,8 @@ def license_map(deps): license_by_label = dict() licensees = dict() for lic in depset(transitive = transitive_licenses).to_list(): + if not LicenseInfo in lic: + continue label = lic[LicenseInfo].label.name if not label in license_by_label: license_by_label[label] = lic |