check-meta: defaultCPEParts: accomodate null pname (#458529)

This commit is contained in:
Matt Sturgeon
2025-11-04 21:49:32 +00:00
committed by GitHub
+1 -1
View File
@@ -677,7 +677,7 @@ let
defaultCPEParts = {
part = "a";
#vendor = null;
${if attrs ? pname then "product" else null} = attrs.pname;
${if attrs.pname or null != null then "product" else null} = attrs.pname;
#version = null;
#update = null;
edition = "*";