@sap-ux/project-access 1.32.5 → 1.32.6

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.
@@ -107,6 +107,10 @@ async function refreshSpecificationDistTags(options) {
107
107
  logger
108
108
  });
109
109
  const distTags = JSON.parse(distTagsString);
110
+ if ('error' in distTags) {
111
+ // Abort writing cache: received error in dist-tags response
112
+ throw new Error(distTagsString);
113
+ }
110
114
  await (0, file_1.writeFile)(specificationDistTagPath, JSON.stringify(distTags, null, 4));
111
115
  const uniqueVersions = new Set(Object.values(distTags));
112
116
  // Check if we have cached versions that are not required anymore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-access",
3
- "version": "1.32.5",
3
+ "version": "1.32.6",
4
4
  "description": "Library to access SAP Fiori tools projects",
5
5
  "repository": {
6
6
  "type": "git",