@appland/appmap 3.44.2 → 3.44.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [@appland/appmap-v3.44.3](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.44.2...@appland/appmap-v3.44.3) (2022-10-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Don't show a misleading message when test fails with AppMaps ([229356b](https://github.com/getappmap/appmap-js/commit/229356be0210af46e3d4f1da221a77305e686183))
7
+
1
8
  # [@appland/appmap-v3.44.2](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.44.1...@appland/appmap-v3.44.2) (2022-10-10)
2
9
 
3
10
 
@@ -13,7 +13,8 @@ async function testCasesComplete(recordContext) {
13
13
  // Handle command failures here, rather than in a separate state, so we maintain compatibility
14
14
  // with the Azure Function that processes telemetry events.
15
15
  if (recordContext.failures > 0 || recordContext.appMapsCreated === 0) {
16
- userInteraction_1.default.warn(`\n${chalk_1.default.yellow('!')} The test commands failed to create AppMaps\n`);
16
+ if (recordContext.appMapsCreated === 0)
17
+ userInteraction_1.default.warn(`\n${chalk_1.default.yellow('!')} The test commands failed to create AppMaps\n`);
17
18
  const errors = ((_a = recordContext.output) === null || _a === void 0 ? void 0 : _a.join('\n').length) > 0
18
19
  ? recordContext.output
19
20
  : `[Test command failed with no output]`;
@@ -1 +1 @@
1
- {"version":3,"file":"testCasesComplete.js","sourceRoot":"","sources":["../../../../src/cmds/record/state/testCasesComplete.ts"],"names":[],"mappings":";;;;;AAAA,oDAA4B;AAC5B,kDAA0B;AAC1B,gFAAwD;AACxD,4EAAuC;AACvC,kFAA0D;AAG3C,KAAK,UAAU,iBAAiB,CAAC,aAA4B;;IAC1E,8FAA8F;IAC9F,2DAA2D;IAC3D,IAAI,aAAa,CAAC,QAAQ,GAAG,CAAC,IAAI,aAAa,CAAC,cAAc,KAAK,CAAC,EAA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IAAA,oBAAU,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAElC,OAAO;KACR;IAED,IAAA,gBAAM,EAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAChC,MAAM,IAAA,0BAAgB,EAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAEhD,OAAO;AACT,CAAC;AArBD,oCAqBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appland/appmap",
3
- "version": "3.44.2",
3
+ "version": "3.44.3",
4
4
  "description": "",
5
5
  "bin": "built/cli.js",
6
6
  "publishConfig": {