@firestartr/cli 1.45.0-snapshot-15 → 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.
- package/build/index.js +7 -3
- 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
|
|
274550
|
-
|
|
274551
|
-
|
|
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
|
/*
|
|
@@ -280039,6 +280040,9 @@ async function runRenderer(globalsPath, initializersPath, claimsPath, crsPath, c
|
|
|
280039
280040
|
});
|
|
280040
280041
|
let claimRefsList = [];
|
|
280041
280042
|
if (claimRefs) {
|
|
280043
|
+
claimRefsList = claimRefs.replace(/\s/g, '').split(',');
|
|
280044
|
+
}
|
|
280045
|
+
else if (claimFilesList) {
|
|
280042
280046
|
claimRefsList = resolveClaimFilesList(claimFilesList);
|
|
280043
280047
|
}
|
|
280044
280048
|
try {
|