Browse Source

chore(generator): 调整确认提示文本

- 将“是否使用现有配置重新生成扩展?”修改为“确定使用当前配置?”
-保持确认逻辑不变,仅优化提示语句的表达方式
runphp 6 months ago
parent
commit
6a822ace17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Generator/ComposerGenerator.php

+ 1 - 1
src/Generator/ComposerGenerator.php

@@ -36,7 +36,7 @@ class ComposerGenerator
                     ]
                 );
                 
-                if ($io->confirm('是否使用现有配置重新生成扩展?', true)) {
+                if ($io->confirm('确定使用当前配置?', true)) {
                     return [
                         'packageName' => $existingInfo['name'],
                         'description' => $existingInfo['description'],