Skip to content
Snippets Groups Projects
Commit 2fe55b8f authored by Sebastian Pisula's avatar Sebastian Pisula
Browse files

feature(core): command fix

parent ffead0bd
No related branches found
No related tags found
1 merge request!12feature(core): command fix
Pipeline #160176 failed
## [1.1.6] - 2023-02-20
### Fixed
- Command return value
## [1.1.5] - 2021-08-19 ## [1.1.5] - 2021-08-19
### Fixed ### Fixed
- changes in text - changes in text
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
namespace WPDesk\ActivationReminder\Composer; namespace WPDesk\ActivationReminder\Composer;
use Composer\Command\BaseCommand; use Composer\Command\BaseCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
...@@ -58,6 +59,8 @@ class PrepareActivationReminderCommand extends BaseCommand ...@@ -58,6 +59,8 @@ class PrepareActivationReminderCommand extends BaseCommand
$this->regenerate_autoload( $target_file, $input ); $this->regenerate_autoload( $target_file, $input );
$output->writeln( "Activation reminder created." ); $output->writeln( "Activation reminder created." );
return Command::SUCCESS;
} }
private function create_or_get_target_file_name( array $class_map, $random_class, $random_letter ) { private function create_or_get_target_file_name( array $class_map, $random_class, $random_letter ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment