Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matronator committed Oct 12, 2023
1 parent cbf3304 commit b1c3552
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/Mtrgen/Cli/BaseGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ protected function askArguments(mixed $helper, ?string $path = null, ?string $id
$this->output->writeln('Looking for template parameters...');

$args = Parser::getArguments($identifier ? $contents : $template);
$args = $args->arguments;
if ($args !== []) {
$this->io->writeln('<fg=green>Template parameters found!</>');
$this->io->newLine();
Expand Down

0 comments on commit b1c3552

Please sign in to comment.