Skip to content

Commit

Permalink
Fix $fullCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Oct 5, 2022
1 parent 9e72866 commit dad1ae2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/Command/AbstractPhpCallProxyCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ public function configure()
public function handle()
{
$bin = $this->buildBinCommand();
$command = Str::replaceFirst($this->proxyCommand . ' ', '', (string) $this->input);
// $fullCommand = sprintf('%s %s', $bin, $command);
$fullCommand = $bin;
$command = Str::replaceFirst($this->proxyCommand, '', (string) $this->input);
$fullCommand = sprintf('%s %s', $bin, trim($command));
$this->liveCommand($fullCommand);
}

Expand Down

0 comments on commit dad1ae2

Please sign in to comment.