Skip to content

Commit

Permalink
add a missing array->string conversion in the exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vo committed Aug 23, 2020
1 parent fab8317 commit 83c3889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager-bundle/src/Composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static function (string $type, string $buffer) use ($event): void {
);

if (!$process->isSuccessful()) {
throw new \RuntimeException(sprintf('An error occurred while executing the "%s" command: %s', $cmd, $process->getErrorOutput()));
throw new \RuntimeException(sprintf('An error occurred while executing the "%s" command: %s', implode(' ', $cmd), $process->getErrorOutput()));
}
}

Expand Down

0 comments on commit 83c3889

Please sign in to comment.