@adobe/helix-config 4.11.1 → 4.11.2

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
+ ## [4.11.2](https://github.com/adobe/helix-config/compare/v4.11.1...v4.11.2) (2025-01-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * handle incorrect setup gracefully ([6160923](https://github.com/adobe/helix-config/commit/6160923cf91d1d6aba0ef4a5b4c8af6f308209de))
7
+
1
8
  ## [4.11.1](https://github.com/adobe/helix-config/compare/v4.11.0...v4.11.1) (2025-01-13)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "4.11.1",
3
+ "version": "4.11.2",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -123,8 +123,14 @@ export async function resolveLegacyConfig(ctx, rso, scope) {
123
123
  return null;
124
124
  }
125
125
  const { contentBusId } = helixConfig.content.data['/'];
126
- const fstab = helixConfig.fstab.data || helixConfig.fstab;
126
+ const fstab = helixConfig.fstab?.data || helixConfig.fstab;
127
+ if (!fstab) {
128
+ return null;
129
+ }
127
130
  let source = fstab.mountpoints['/'];
131
+ if (!source) {
132
+ return null;
133
+ }
128
134
  if (typeof source === 'string') {
129
135
  source = {
130
136
  type: source.startsWith('https://drive.google.com/')