Skip to content

Commit c3add24

Browse files
Composer OuptuStyles are not registered in satis
Added registration of OutputStyles from Composer Factory
1 parent 18ba007 commit c3add24

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Composer/Satis/Console/Application.php

+6
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ public function __construct()
4141
public function doRun(InputInterface $input, OutputInterface $output)
4242
{
4343
$this->registerCommands();
44+
45+
$styles = Factory::createAdditionalStyles();
46+
foreach ($styles as $name => $style) {
47+
$output->getFormatter()->setStyle($name, $style);
48+
}
49+
4450
$this->io = new ConsoleIO($input, $output, $this->getHelperSet());
4551

4652
return parent::doRun($input, $output);

0 commit comments

Comments
 (0)