File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public static function getSubscribedEvents() : array
6464 */
6565 public function runPostInstallScript (Event $ event ) : void
6666 {
67+ $ event ->getIO ()->write ('CaptainHook Composer Plugin ' );
6768 if (!$ this ->isCaptainHookInstalled ()) {
6869 // reload the autoloader to make sure CaptainHook is available
6970 $ vendorDir = $ event ->getComposer ()->getConfig ()->get ('vendor-dir ' );
@@ -72,7 +73,7 @@ public function runPostInstallScript(Event $event) : void
7273
7374 // if it's still not available end the plugin execution
7475 if (!$ this ->isCaptainHookInstalled ()) {
75- $ event ->getIO ()->write ('CaptainHook not properly installed try to run composer update ' );
76+ $ event ->getIO ()->write (' <info> CaptainHook not properly installed try to run composer update</info> ' );
7677 return ;
7778 }
7879 // otherwise run the installer
Original file line number Diff line number Diff line change @@ -108,7 +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 ());
111+ $ this ->io ->write (' <info> Using CaptainHook config: ' . $ configFile ->getFilename () . ' </info> ' );
112112 return ;
113113 }
114114
You can’t perform that action at this time.
0 commit comments