remove internal files from extract list

This commit is contained in:
sunxyw 2022-12-21 00:34:08 +08:00
parent 8901c31631
commit 4554bbc85b
No known key found for this signature in database
GPG Key ID: F391C42B19AFFC98

View File

@ -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('<fg=gray>更新 composer.json ... </>');
@ -119,7 +115,6 @@ class InitCommand extends Command
'/zhamao',
'/.gitignore',
'/config/*',
'/src/Globals/*.php',
];
return $this->getFilesFromPatterns($patterns);