@adobe/helix-config 5.1.1 → 5.1.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 +7 -0
- package/package.json +1 -1
- package/src/config-view.js +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.1.2](https://github.com/adobe/helix-config/compare/v5.1.1...v5.1.2) (2025-04-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* skip branch test for 'main' branch ([#260](https://github.com/adobe/helix-config/issues/260)) ([2e6a6af](https://github.com/adobe/helix-config/commit/2e6a6af7c5cf0f63f8a7fefc325242e249b6e219))
|
|
7
|
+
|
|
1
8
|
## [5.1.1](https://github.com/adobe/helix-config/compare/v5.1.0...v5.1.1) (2025-04-05)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/config-view.js
CHANGED
|
@@ -299,11 +299,12 @@ async function resolveConfig(ctx, rso, scope) {
|
|
|
299
299
|
site.data = res.json();
|
|
300
300
|
|
|
301
301
|
const { code } = site.data;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
302
|
+
if (rso.ref !== 'main') {
|
|
303
|
+
const res2 = await ctx.loader.dirExists(HELIX_CODE_BUS, `${code.owner}/${code.repo}/${rso.ref}`);
|
|
304
|
+
if (res2.status !== 200) {
|
|
305
|
+
return null;
|
|
306
|
+
}
|
|
305
307
|
}
|
|
306
|
-
|
|
307
308
|
site.updateLastModified(res.headers);
|
|
308
309
|
|
|
309
310
|
// always load default profile if available
|