diff --git a/src/PackageRegistrator.php b/src/PackageRegistrator.php index cea3287..ac9ea41 100644 --- a/src/PackageRegistrator.php +++ b/src/PackageRegistrator.php @@ -136,6 +136,11 @@ public static function composerPostAutoloadDump(): void echo '---------------------------------' . "\n\n"; } + try { + FileSystem::delete(dirname(__DIR__, 4) . '/app/config/package.neon'); + } catch (\Throwable $e) { + trigger_error($e->getMessage()); + } echo 'Run Composer autoload: '; $composerFileAutoloadPath = __DIR__ . '/../../../composer/autoload_files.php'; if (\is_file($composerFileAutoloadPath)) {