Skip to content

Commit 8bc7810

Browse files
committed
Revert "fix undefined command summary"
This reverts commit 48c5d82.
1 parent 37e5392 commit 8bc7810

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Commands/Remote/SSHBaseCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,13 @@ protected function executeCommand(array $command_args, int $retries = 0)
100100
// Send the combined command line via SSH
101101
$ssh_data = $this->sendCommandViaSsh($command_line, $env_vars);
102102

103-
$command_summary = $this->getCommandSummary($command_args);
104103
// Log the command execution
105104
$this->log()->notice(
106105
'Command: {site}.{env} -- {command} [Exit: {exit}] (Attempt {attempt}/{max_attempts})',
107106
[
108107
'site' => $this->site->getName(),
109108
'env' => $this->environment->id,
110-
'command' => $command_summary,
109+
'command' => $this->getCommandSummary($command_args),
111110
'exit' => $ssh_data['exit_code'],
112111
'attempt' => $attempt + 1,
113112
'max_attempts' => $max_attempts,

0 commit comments

Comments
 (0)