Skip to content

Commit

Permalink
[9.x] Avoids colors being captured on composer version in about com…
Browse files Browse the repository at this point in the history
…mand (#43276)

* Avoids colors being captured on composer version in `about` command

* Apply fixes from StyleCI

Co-authored-by: StyleCI Bot <bot@styleci.io>
  • Loading branch information
nunomaduro and StyleCIBot authored Jul 19, 2022
1 parent 971ab31 commit 79c33af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function setWorkingPath($path)
*/
public function getVersion()
{
$command = array_merge($this->findComposer(), ['-V']);
$command = array_merge($this->findComposer(), ['-V', '--no-ansi']);

$process = $this->getProcess($command);

Expand Down

0 comments on commit 79c33af

Please sign in to comment.