Skip to content

Commit

Permalink
Niggle.
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden committed Jul 28, 2023
1 parent ec300dc commit 86d672b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Internal/Process/Service/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ public function mustRun(?OutputCallbackInterface $callback = null): self

public function run(?OutputCallbackInterface $callback = null): int
{
$callbackAdapter = new OutputCallbackAdapter($callback);

try {
$callbackAdapter = new OutputCallbackAdapter($callback);
return $this->symfonyProcess->run($callbackAdapter);
} catch (Throwable $e) {
throw new RuntimeException($this->t(
Expand Down

0 comments on commit 86d672b

Please sign in to comment.