Skip to content

Commit

Permalink
Make subcommand none interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Dec 13, 2023
1 parent 03e27d7 commit 353d137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ComposerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static function getSubscribedEvents(): array
*/
public function installHooks(Event $event): void
{
$this->io->write('<info>CaptainHook Composer Plugin</info>');
$this->io->write('<info>CaptainHook HookInstaller</info>');

if ($this->isPluginDisabled()) {
$this->io->write(' <comment>plugin is disabled</comment>');
Expand Down Expand Up @@ -169,7 +169,7 @@ private function install(): void
{
// Respect composer CLI settings
$ansi = $this->io->isDecorated() ? ' --ansi' : ' --no-ansi';
$interaction = $this->io->isInteractive() ? '' : ' --no-interaction';
$interaction = ' --no-interaction';
$executable = escapeshellarg($this->executable);

// captainhook config and repository settings
Expand Down

0 comments on commit 353d137

Please sign in to comment.