@firestartr/cli 1.57.1-snapshot → 1.57.1-snapshot-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/build/index.js +7 -5
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -357883,7 +357883,7 @@ const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
357883
357883
|
OwnerReference: {
|
|
357884
357884
|
$id: 'firestartr.dev://common/FirestartrOwnerRef',
|
|
357885
357885
|
type: 'string',
|
|
357886
|
-
pattern: '^(user|group):([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357886
|
+
pattern: '^(user|group|collaborator):([a-z0-9]([a-z0-9._-]*[a-z0-9])?/)?[a-z0-9]([a-z0-9._-]*[a-z0-9])?$',
|
|
357887
357887
|
},
|
|
357888
357888
|
Annotations: {
|
|
357889
357889
|
$id: 'firestartr.dev://common/FirestartrAnnotations',
|
|
@@ -359154,15 +359154,17 @@ async function loadClaim(claimRef, org, defaults = loadClaimDefaults(), patchCla
|
|
|
359154
359154
|
await optionalValidation(claim);
|
|
359155
359155
|
}
|
|
359156
359156
|
catch (error) {
|
|
359157
|
+
let errorMsg = '';
|
|
359157
359158
|
if (Array.isArray(error)) {
|
|
359158
|
-
let errorMsg = '';
|
|
359159
359159
|
for (const data of error) {
|
|
359160
359160
|
errorMsg = `${errorMsg}
|
|
359161
359161
|
- ${data.instancePath}: ${data.message}`;
|
|
359162
359162
|
}
|
|
359163
|
-
throw new Error(`Error when validating claim ${claimRef}: ${errorMsg}`);
|
|
359164
359163
|
}
|
|
359165
|
-
|
|
359164
|
+
else {
|
|
359165
|
+
errorMsg = error instanceof Error ? error.message : String(error);
|
|
359166
|
+
}
|
|
359167
|
+
throw new Error(`Error when validating claim ${claimRef}: ${errorMsg}`);
|
|
359166
359168
|
}
|
|
359167
359169
|
result[claimRef] = {};
|
|
359168
359170
|
result[claimRef]['claim'] = claim;
|
|
@@ -376437,7 +376439,7 @@ const crs_analyzerSubcommand = {
|
|
|
376437
376439
|
};
|
|
376438
376440
|
|
|
376439
376441
|
;// CONCATENATED MODULE: ./package.json
|
|
376440
|
-
const package_namespaceObject = JSON.parse('{"i8":"1.57.1-snapshot"}');
|
|
376442
|
+
const package_namespaceObject = JSON.parse('{"i8":"1.57.1-snapshot-2"}');
|
|
376441
376443
|
;// CONCATENATED MODULE: ../../package.json
|
|
376442
376444
|
const package_namespaceObject_1 = {"i8":"1.57.0"};
|
|
376443
376445
|
;// CONCATENATED MODULE: ./src/subcommands/index.ts
|