check-meta: defaultCPEParts: accomodate null pname

This commit is contained in:
Yueh-Shun Li
2025-11-05 01:05:25 +08:00
parent 5fd9f02066
commit 5ffd35a706
+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 = "*";