From 1e96177ba5b7e17bd46ebceddb77a6cfd91f1821 Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Sun, 21 May 2023 00:01:15 +0300 Subject: [PATCH] Update PublishCommand.php --- src/Console/PublishCommand.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Console/PublishCommand.php b/src/Console/PublishCommand.php index 3a55641..48affa2 100644 --- a/src/Console/PublishCommand.php +++ b/src/Console/PublishCommand.php @@ -28,17 +28,17 @@ class PublishCommand extends Command public function handle() { // publish Sky files - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-config', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-migrations', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-translations', '--force' => $this->option('force') ?? false]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-config', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-migrations', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-translations', '--force' => $this->option('force')]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-seeder', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-factories', '--force' => $this->option('force') ?? false]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-seeder', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-sky-factories', '--force' => $this->option('force')]); // publish Zeus files - $this->callSilent('vendor:publish', ['--tag' => 'zeus-config', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-views', '--force' => $this->option('force') ?? false]); - $this->callSilent('vendor:publish', ['--tag' => 'zeus-assets', '--force' => $this->option('force') ?? false]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-config', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-views', '--force' => $this->option('force')]); + $this->callSilent('vendor:publish', ['--tag' => 'zeus-assets', '--force' => $this->option('force')]); $this->output->success('Zeus and Sky has been Published successfully'); }