Unverified Commit 52966aa9 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

check-meta: Fall back to fullName for the license name (#424808)

parents 74a8ed87 4ee1d0a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -186,7 +186,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;