Unverified Commit 13046392 authored by Alyssa Ross's avatar Alyssa Ross Committed by GitHub
Browse files

lib.meta.getLicenseBySpdxId: set spdxId in default value (#500750)

parents 5e7a6f17 666476ff
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -434,8 +434,9 @@ rec {
  getLicenseFromSpdxId =
    licstr:
    getLicenseFromSpdxIdOr licstr (
      lib.warn "getLicenseFromSpdxId: No license matches the given SPDX ID: ${licstr}" {
      lib.warn "getLicenseFromSpdxId: No license with the given SPDX ID found: ${licstr}" {
        shortName = licstr;
        spdxId = licstr;
      }
    );