mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
chore: replace composer dump with install
This commit is contained in:
parent
7d676eb48c
commit
063bc6aaa7
1 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ class InitCommand extends Command
|
|||
|
||||
try {
|
||||
$this->clearCaches();
|
||||
$this->dumpAutoloads();
|
||||
$this->composerInstall();
|
||||
$this->loadEnvFile();
|
||||
$this->maybeGenerateAppKey();
|
||||
$this->maybeSetUpDatabase();
|
||||
|
@ -110,10 +110,10 @@ class InitCommand extends Command
|
|||
});
|
||||
}
|
||||
|
||||
private function dumpAutoloads(): void
|
||||
private function composerInstall(): void
|
||||
{
|
||||
$this->components->task('Dumping autoloads (be patient!)', static function (): void {
|
||||
self::runOkOrThrow('composer dump-autoload --no-interaction --optimize --quiet');
|
||||
$this->components->task('Installing packages (be patient!)', static function (): void {
|
||||
self::runOkOrThrow('composer install --no-interaction --quiet');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue