Skip to content

Commit 6cd55e5

Browse files
Add 'using config' output
1 parent 761e7e7 commit 6cd55e5

2 files changed

Lines changed: 2 additions & 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-
$event->getIO()->write(' <info>CaptainHook not properly installed try to run composer update</info>');
75+
$event->getIO()->write('CaptainHook not properly installed try to run composer update');
7676
return;
7777
}
7878
// otherwise run the installer

src/Installer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ private function getConfigFile() : string
108108
private function assertConfigFile(SplFileInfo $configFile) : void
109109
{
110110
if ($configFile->isFile()) {
111+
$this->io->write('Using CaptainHook config: ' . $configFile->getFilename());
111112
return;
112113
}
113114

0 commit comments

Comments
 (0)