@adobe/helix-html-pipeline 6.14.3 → 6.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [6.14.4](https://github.com/adobe/helix-html-pipeline/compare/v6.14.3...v6.14.4) (2024-09-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* ignore mapped metadata sheet with not default ([#678](https://github.com/adobe/helix-html-pipeline/issues/678)) ([c50a910](https://github.com/adobe/helix-html-pipeline/commit/c50a9104697796a4a2bdbf8add50f737cf950eaf)), closes [#677](https://github.com/adobe/helix-html-pipeline/issues/677)
|
|
7
|
+
|
|
1
8
|
## [6.14.3](https://github.com/adobe/helix-html-pipeline/compare/v6.14.2...v6.14.3) (2024-08-31)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -38,8 +38,12 @@ export default async function fetchMappedMetadata(state) {
|
|
|
38
38
|
} catch (e) {
|
|
39
39
|
throw new PipelineStatusError(500, `failed parsing of ${metadataPath}: ${e.message}`);
|
|
40
40
|
}
|
|
41
|
-
|
|
42
41
|
const { data } = json.default ?? json;
|
|
42
|
+
if (!data) {
|
|
43
|
+
state.log.info(`default sheet missing in ${metadataPath}`);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
|
|
43
47
|
if (!Array.isArray(data)) {
|
|
44
48
|
throw new PipelineStatusError(500, `failed loading of ${metadataPath}: data must be an array`);
|
|
45
49
|
}
|