diff --git a/src/ZM/Command/InitCommand.php b/src/ZM/Command/InitCommand.php index 0be2c245..73ab2bd6 100644 --- a/src/ZM/Command/InitCommand.php +++ b/src/ZM/Command/InitCommand.php @@ -44,11 +44,7 @@ class InitCommand extends Command 'Module\\' => 'src/Module', 'Custom\\' => 'src/Custom', ], - 'files' => [ - 'src/Globals/global_functions.php', - 'src/Globals/global_defines_app.php', - 'src/Globals/global_class_alias.php', - ], + 'files' => [], ]; $section->write('更新 composer.json ... '); @@ -119,7 +115,6 @@ class InitCommand extends Command '/zhamao', '/.gitignore', '/config/*', - '/src/Globals/*.php', ]; return $this->getFilesFromPatterns($patterns);