Skip to content

Commit 6883d1e

Browse files
committed
refactor: code
refs: #26
1 parent 4951657 commit 6883d1e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Commands/InitCommand.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,11 @@ public function handle(): void
140140
}
141141

142142
if (!class_exists(\Laravel\Telescope\TelescopeServiceProvider::class)) {
143-
$this->shellCommands[] = 'composer require ronasit/laravel-telescope-extension';
144-
$this->shellCommands[] = 'php artisan telescope:install';
143+
array_push(
144+
$this->shellCommands,
145+
'composer require ronasit/laravel-telescope-extension',
146+
'php artisan telescope:install'
147+
);
145148
}
146149

147150
if ($this->confirm('Do you want to install media package?')) {

0 commit comments

Comments
 (0)