Commit 4ee1d0a3 authored by Tim Schumacher's avatar Tim Schumacher
Browse files

check-meta: Fall back to fullName for the license name

parent e9b0a519
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -174,7 +174,8 @@ let
  hasDeniedNonSourceProvenance =
    attrs: hasNonSourceProvenance attrs && !allowNonSource && !allowNonSourcePredicate attrs;

  showLicenseOrSourceType = value: toString (map (v: v.shortName or "unknown") (toList value));
  showLicenseOrSourceType =
    value: toString (map (v: v.shortName or v.fullName or "unknown") (toList value));
  showLicense = showLicenseOrSourceType;
  showSourceType = showLicenseOrSourceType;