@axway/axway-central-cli 2.9.0 → 2.9.3

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.
@@ -606,7 +606,7 @@ class ApiServerClient {
606
606
  specs[group.name].cli.set(c.name, c);
607
607
  }
608
608
 
609
- if (this.useCache && cacheUpdated) _CacheController.CacheController.writeToFile();
609
+ if (cacheUpdated) _CacheController.CacheController.writeToFile();
610
610
  }
611
611
 
612
612
  return specs;
@@ -168,9 +168,11 @@ async function resolveTeamNames({
168
168
  for (const {
169
169
  data
170
170
  } of results) {
171
- for (const obj of data) {
172
- const value = (0, _get.default)(obj, jsonPath);
173
- (0, _set.default)(obj, targetJsonPath, value && teamNames[value] || value || '');
171
+ if (Array.isArray(data)) {
172
+ for (const obj of data) {
173
+ const value = (0, _get.default)(obj, jsonPath);
174
+ (0, _set.default)(obj, targetJsonPath, value && teamNames[value] || value || '');
175
+ }
174
176
  }
175
177
  }
176
178
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axway/axway-central-cli",
3
- "version": "2.9.0",
3
+ "version": "2.9.3",
4
4
  "description": "Manage APIs, services and publish to the Unified Catalog",
5
5
  "homepage": "https://platform.axway.com",
6
6
  "author": {