@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 +1 -1
- package/src/commands/switch.js +4 -0
package/package.json
CHANGED
package/src/commands/switch.js
CHANGED
|
@@ -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;
|