Skip to content

Commit 761e7e7

Browse files
Fix IO resolution
Get IO from composer event to fix copy paste error.
1 parent a39ac3e commit 761e7e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ComposerPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function runPostInstallScript(Event $event) : void
7272

7373
// if it's still not available end the plugin execution
7474
if (!$this->isCaptainHookInstalled()) {
75-
$this->io->write(' <info>CaptainHook not properly installed try to run composer update</info>');
75+
$event->getIO()->write(' <info>CaptainHook not properly installed try to run composer update</info>');
7676
return;
7777
}
7878
// otherwise run the installer

0 commit comments

Comments
 (0)