@firestartr/cli 1.45.0-snapshot-16 → 1.45.0-snapshot-17

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.
Files changed (2) hide show
  1. package/build/index.js +4 -3
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -274546,9 +274546,10 @@ function throwIfRefNotFound(crs, refObj, refStr, crStr) {
274546
274546
  }
274547
274547
  }
274548
274548
  function throwIfRefNotFoundInCatalog(crs, refObj, refStr, crStr) {
274549
- const refKey = `${refObj.kind}-${refObj.name.toLowerCase()}`;
274550
- if (!crs[refKey]) {
274551
- throw new Error(`Error: Reference "${refStr}" in claim for ${crStr} not found`);
274549
+ const catalogEntityName = extractNameCatalogEntity(refObj);
274550
+ const ref = `${refObj.kind}-${catalogEntityName.toLowerCase()}`;
274551
+ if (!crs[ref]) {
274552
+ throw new Error(`Error: Reference "${ref}" in claim for ${crStr} not found`);
274552
274553
  }
274553
274554
  }
274554
274555
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.45.0-snapshot-16",
3
+ "version": "1.45.0-snapshot-17",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",