mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 07:49:19 +08:00
feat: 完善部署脚本
This commit is contained in:
@@ -23,7 +23,7 @@ async function selectEnv(): Promise<Environment> {
|
||||
const config = await loadConfig();
|
||||
const env = await select({
|
||||
message: '选择环境',
|
||||
choices: (['test', 'pre', 'production'] as Environment[]).map((e) => ({
|
||||
choices: (['test', 'pre', 'prod'] as Environment[]).map((e) => ({
|
||||
name: `${e === config.currentEnv ? '● ' : ' '}${ENV_LABELS[e]}`,
|
||||
value: e,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user