remove internal files from extract list

This commit is contained in:
sunxyw
2022-12-21 00:34:08 +08:00
parent 8901c31631
commit 4554bbc85b

View File

@@ -44,11 +44,7 @@ class InitCommand extends Command
'Module\\' => 'src/Module', 'Module\\' => 'src/Module',
'Custom\\' => 'src/Custom', 'Custom\\' => 'src/Custom',
], ],
'files' => [ 'files' => [],
'src/Globals/global_functions.php',
'src/Globals/global_defines_app.php',
'src/Globals/global_class_alias.php',
],
]; ];
$section->write('<fg=gray>更新 composer.json ... </>'); $section->write('<fg=gray>更新 composer.json ... </>');
@@ -119,7 +115,6 @@ class InitCommand extends Command
'/zhamao', '/zhamao',
'/.gitignore', '/.gitignore',
'/config/*', '/config/*',
'/src/Globals/*.php',
]; ];
return $this->getFilesFromPatterns($patterns); return $this->getFilesFromPatterns($patterns);