diff --git a/src/Command.php b/src/Command.php index 4eb2493..110235e 100644 --- a/src/Command.php +++ b/src/Command.php @@ -12,10 +12,11 @@ protected function configure() { $this->setName('cleanup-vcs-dirs'); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output):int { $output->writeln('Removing all child .git directories under the project directory'); $handler = new Handler($this->getComposer(), $this->getIO()); $handler->cleanupVcsDirs(getcwd(), true); + return 0; } }