testdriverai 4.1.22 → 4.1.23

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/agent.js +1 -1
  2. package/package.json +1 -1
package/agent.js CHANGED
@@ -350,7 +350,7 @@ const runCommand = async (command, depth) => {
350
350
  return await actOnMarkdown(response, depth);
351
351
  }
352
352
  } catch (error) {
353
- if (error.fatal) {
353
+ if (thisCommand == "run") {
354
354
  console.log("");
355
355
  log.log("info", chalk.red("Fatal Error") + `\n${error.message}`);
356
356
  await summarize(error.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.1.22",
3
+ "version": "4.1.23",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {