From 4554bbc85b4745e9edb09baa5eea6b5b65ef68df Mon Sep 17 00:00:00 2001 From: sunxyw Date: Wed, 21 Dec 2022 00:34:08 +0800 Subject: [PATCH] remove internal files from extract list --- src/ZM/Command/InitCommand.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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);