fix
This commit is contained in:
parent
bcf8b6621b
commit
798c687547
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Kernel",
|
||||
"version": "0.2",
|
||||
"version": "0.1",
|
||||
"author": "ITGuild",
|
||||
"slug": "kernel",
|
||||
"type": "kernel",
|
||||
|
@ -15,7 +15,7 @@ $form->field(\itguild\forms\inputs\Select::class, "files[]", [
|
||||
])
|
||||
->setLabel("Дополнительные файлы")
|
||||
->setOptions([
|
||||
'.env.example' => '.env.example',
|
||||
'env.example' => 'env.example',
|
||||
'bootstrap.php' => 'bootstrap',
|
||||
'composer.json' => 'composer.json',
|
||||
])
|
||||
|
@ -75,7 +75,7 @@ class KernelService
|
||||
|
||||
foreach ($files as $file) {
|
||||
Debug::prn($file);
|
||||
if ($file === 'bootstrap') {
|
||||
if ($file === 'bootstrap.php') {
|
||||
Debug::prn(123);
|
||||
$this->files->recursiveRemoveDir(ROOT_DIR . '/bootstrap');
|
||||
$this->files->copyKernelFolder($tmpKernelDirFull . 'bootstrap' , ROOT_DIR . '/bootstrap');
|
||||
|
Loading…
Reference in New Issue
Block a user