Skip to content

Commit

Permalink
Use io() in SiteInstallCommnads (#5996)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed May 12, 2024
1 parent e30938f commit e65b0d0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Commands/core/SiteInstallCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
use Drush\Sql\SqlBase;
use Drush\Utils\StringUtils;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Filesystem\Path;

Expand Down Expand Up @@ -414,8 +413,7 @@ public function pre(CommandData $commandData): void
}

if ($msg) {
// Awkwardly use the text() method from parent because DrushStyle uses it for a prompt.
(new SymfonyStyle($this->input, $this->output))->text(dt('You are about to:'));
$this->io()->text(dt('You are about to:'));
$this->io()->listing($msg);
}

Expand Down

0 comments on commit e65b0d0

Please sign in to comment.