Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit f3fb76c

Browse files
committed
Avoid passing -t to SSH when using db:sql with the --raw flag
1 parent a2e0097 commit f3fb76c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/Db/DbSqlCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
125125
}
126126

127127
// Enable tabular output when the input is a terminal.
128-
if ($host instanceof RemoteHost && $this->isTerminal(STDIN)) {
128+
if (!$input->getOption('raw') && $host instanceof RemoteHost && $this->isTerminal(STDIN)) {
129129
$host->setExtraSshArgs(['-t']);
130130
}
131131

0 commit comments

Comments
 (0)