gemiterm 2.3.1 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemiterm",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "repository": {
@@ -181,8 +181,7 @@ export class ContinueCommand implements CliCommand {
181
181
  console.log(chalk.dim("No conversation ID specified. Listing conversations:\n"));
182
182
  await listHandler.execute([], context);
183
183
  } else {
184
- console.error("Could not invoke list command.");
185
- process.exit(1);
184
+ throw new Error("Could not invoke list command.");
186
185
  }
187
186
  }
188
187
 
@@ -76,8 +76,7 @@ export class FetchCommand implements CliCommand {
76
76
  console.log(chalk.dim("No conversation ID specified. Listing conversations:\n"));
77
77
  await listHandler.execute([], context);
78
78
  } else {
79
- console.error("Could not invoke list command.");
80
- process.exit(1);
79
+ throw new Error("Could not invoke list command.");
81
80
  }
82
81
  }
83
82