Skip to content

Commit ed1aa3b

Browse files
authored
Merge pull request #2526 from Laravel-Backpack/fix-debug-flag-in-installation-command
[4.0] fix debug flag in installation command
2 parents 48ad2a3 + 4d450b5 commit ed1aa3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/Console/Commands/Install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function handle()
141141
*/
142142
public function executeProcess($command, $beforeNotice = false, $afterNotice = false)
143143
{
144-
$this->echo('info', $beforeNotice ? ' '.$beforeNotice : $command);
144+
$this->echo('info', $beforeNotice ? ' '.$beforeNotice : implode(' ', $command));
145145

146146
// make sure the command is an array as per Symphony 4.3+ requirement
147147
$command = is_string($command) ? explode(' ', $command) : $command;
@@ -181,7 +181,7 @@ public function executeProcess($command, $beforeNotice = false, $afterNotice = f
181181
*/
182182
public function executeArtisanProcess($command, $arguments = [], $beforeNotice = false, $afterNotice = false)
183183
{
184-
$beforeNotice = $beforeNotice ? ' '.$beforeNotice : 'php artisan '.$command.' '.implode(' ', $arguments);
184+
$beforeNotice = $beforeNotice ? ' '.$beforeNotice : 'php artisan '.implode(' ', (array) $command).' '.implode(' ', $arguments);
185185

186186
$this->echo('info', $beforeNotice);
187187

0 commit comments

Comments
 (0)