Skip to content

Commit

Permalink
refactor: normalize plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikbehncke committed Aug 20, 2024
1 parent d75d321 commit e372dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CreatePluginCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$fs = new Filesystem();
$cwd = getcwd();

$name = $input->getArgument('name');
$name = strtr($input->getArgument('name'), ['-' => '_', ' ' => '_']);

$fn = [$this->getHelper('question'), 'ask'];
$ask = $this->partial($fn, $input, $output);
Expand Down

0 comments on commit e372dee

Please sign in to comment.