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 eb2631e commit 3884dd2Copy full SHA for 3884dd2
.changeset/shiny-olives-pull.md
@@ -0,0 +1,5 @@
1
+---
2
+"@knime/licenses": patch
3
4
+
5
+handle packages without repository or license text
packages/licenses/src/collect-packages.js
@@ -96,10 +96,9 @@ const checkLicenses = (knimePackages) => {
96
97
// keep only the needed props
98
allPackages = allPackages.map((pkg) => ({
99
- // TODO: WEBP-243 handle licenses with missing text or similar licenses
100
name: pkg.name,
101
- repository: pkg.repository,
102
- licenseText: pkg.licenseText,
+ repository: pkg.repository ?? "",
+ licenseText: pkg.licenseText ?? "",
103
}));
104
105
let allUniquePackages = [];
0 commit comments