We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d30fa1 commit b70701fCopy full SHA for b70701f
scripts/generateChangelog.mjs
@@ -59,7 +59,13 @@ if (fs.existsSync(commitUserFile)) {
59
}
60
61
const definitions = definitionIndex.default.map((d) => zhc.prepareDefinition(d));
62
-const whiteLabels = definitions.filter((d) => d.whiteLabel).flatMap((d) => d.whiteLabel);
+const whiteLabels = definitions
63
+ .filter((d) => d.whiteLabel)
64
+ .flatMap((d) =>
65
+ d.whiteLabel.map((wl) => {
66
+ return {model: wl.model, vendor: wl.vendor ?? d.vendor, description: wl.description ?? d.description};
67
+ }),
68
+ );
69
const capitalizeFirstChar = (str) => str.charAt(0).toUpperCase() + str.slice(1);
70
71
for (const changelog of changelogs) {
0 commit comments