From 77e8ad4a60db35a7ded30b39a0ac52275342e396 Mon Sep 17 00:00:00 2001 From: Matthias Zeis Date: Fri, 3 May 2024 13:31:24 +0200 Subject: [PATCH] Finish execution with successful exit code --- Console/Command/DependenciesShowRemovableCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Console/Command/DependenciesShowRemovableCommand.php b/Console/Command/DependenciesShowRemovableCommand.php index c1d1599..be7e7c9 100644 --- a/Console/Command/DependenciesShowRemovableCommand.php +++ b/Console/Command/DependenciesShowRemovableCommand.php @@ -114,6 +114,7 @@ protected function execute(InputInterface $input, OutputInterface $output) Files::setInstance(new Files($this->registrar, $this->dirSearch, $this->themePackageList)); $this->buildReport($input->getOption(self::INPUT_KEY_OUTPUT)); $output->writeln('Report successfully processed. File "' . $input->getOption(self::INPUT_KEY_OUTPUT) . '" generated.'); + return \Magento\Framework\Console\Cli::RETURN_SUCCESS; } catch (\Exception $e) { $output->writeln( 'Please check the path you provided. Removable Modules report generator failed with error: ' .