Skip to content

Commit

Permalink
CLI-1130: Workaround for broken Drush SQL import
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Dec 13, 2023
1 parent 9ec86da commit 5116969
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Helpers/SshHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public function executeCommand(EnvironmentResponse|string $target, array $comman

private function sendCommand(?string $url, array $command, bool $printOutput, ?int $timeout = NULL): Process {
$command = array_values($this->getSshCommand($url, $command));
$this->localMachineHelper->checkRequiredBinariesExist(['ssh']);

return $this->localMachineHelper->execute($command, $this->getOutputCallback(), NULL, $printOutput, $timeout);
}
Expand Down
1 change: 0 additions & 1 deletion tests/phpunit/src/Commands/Remote/DrushCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public function testRemoteDrushCommand(array $args): void {
ClearCacheCommand::clearCaches();
$this->mockForGetEnvironmentFromAliasArg();
[$process, $localMachineHelper] = $this->mockForExecuteCommand();
$localMachineHelper->checkRequiredBinariesExist(['ssh'])->shouldBeCalled();
$sshCommand = [
'ssh',
'[email protected]',
Expand Down
1 change: 0 additions & 1 deletion tests/phpunit/src/Commands/Remote/SshCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public function testRemoteAliasesDownloadCommand(): void {
ClearCacheCommand::clearCaches();
$this->mockForGetEnvironmentFromAliasArg();
[$process, $localMachineHelper] = $this->mockForExecuteCommand();
$localMachineHelper->checkRequiredBinariesExist(['ssh'])->shouldBeCalled();
$sshCommand = [
'ssh',
'[email protected]',
Expand Down

0 comments on commit 5116969

Please sign in to comment.