@pikecode/api-key-manager 1.3.2 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikecode/api-key-manager",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "A CLI tool for managing and switching multiple API provider configurations",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -788,6 +788,10 @@ class EnvSwitcher extends BaseCommand {
788
788
  message: `选择供应商或操作 (总计 ${providers.length} 个):`,
789
789
  choices,
790
790
  pageSize: this._getPageSize(choices.length)
791
+ }
792
+ ]);
793
+ } catch (error) {
794
+ if (this.isEscCancelled(error)) {
791
795
  return;
792
796
  }
793
797
  throw error;