Skip to content

Commit 62d570e

Browse files
authored
Fix prompt spacing when calling another command (#47928)
1 parent 8e98688 commit 62d570e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Console/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ protected function configureIsolation()
168168
*/
169169
public function run(InputInterface $input, OutputInterface $output): int
170170
{
171-
$this->output = $this->laravel->make(
171+
$this->output = $output instanceof OutputStyle ? $output : $this->laravel->make(
172172
OutputStyle::class, ['input' => $input, 'output' => $output]
173173
);
174174

0 commit comments

Comments
 (0)