spec-controller 0.1.208 → 0.1.209

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/dist/cli.js +3 -3
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -184,8 +184,8 @@ ${message2}`,
184
184
  [91 /* ShapeWrongKind */]: (where, found, expected) => `${where} is ${found}, not ${expected}`,
185
185
  [92 /* ShapeFieldMissing */]: (path) => `${path} is missing`,
186
186
  [93 /* HelpUsageLine */]: (modifierUsage) => `spec-controller ${modifierUsage} <command> [command-args]`,
187
- [94 /* UnexpectedError */]: (name, firstLine2) => `spec-controller stopped on an unexpected error, and gives no verdict: ${name}: ${firstLine2}`,
188
- [95 /* UnexpectedErrorAfterVerdict */]: (name, firstLine2) => `spec-controller hit an unexpected error after its verdict: ${name}: ${firstLine2}`
187
+ ["unexpected-error" /* UnexpectedError */]: (name, firstLine2) => `spec-controller stopped on an unexpected error [${"unexpected-error" /* UnexpectedError */}], and gives no verdict: ${name}: ${firstLine2}`,
188
+ ["unexpected-error-after-verdict" /* UnexpectedErrorAfterVerdict */]: (name, firstLine2) => `spec-controller hit an unexpected error [${"unexpected-error-after-verdict" /* UnexpectedErrorAfterVerdict */}] after its verdict: ${name}: ${firstLine2}`
189
189
  };
190
190
  Unreadable = {
191
191
  History: 0 /* History */,
@@ -269,7 +269,7 @@ function settleExitCode(proc) {
269
269
  endRunOn(UNEXPECTED_ERROR, proc);
270
270
  }
271
271
  function unexpectedErrorLine(err, afterVerdict) {
272
- const message2 = afterVerdict ? 95 /* UnexpectedErrorAfterVerdict */ : 94 /* UnexpectedError */;
272
+ const message2 = afterVerdict ? "unexpected-error-after-verdict" /* UnexpectedErrorAfterVerdict */ : "unexpected-error" /* UnexpectedError */;
273
273
  return APP_MESSAGES[message2](nameOf(err), firstLineOf(err));
274
274
  }
275
275
  function nameOf(err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.208",
3
+ "version": "0.1.209",
4
4
  "description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
5
5
  "keywords": [
6
6
  "reconciliation",
@@ -26,7 +26,7 @@
26
26
  "fast-xml-parser": "^5.11.2",
27
27
  "ts-json-schema-generator": "^2.9.0",
28
28
  "yaml": "^2.9.0",
29
- "@3f-consulting/spec-controller-core": "0.1.208"
29
+ "@3f-consulting/spec-controller-core": "0.1.209"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"