Skip to content

Commit

Permalink
do not throw an error if config file does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
IndraGunawan committed Jan 2, 2025
1 parent 0624f13 commit f1d149d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Maker/MakeTwigComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
$path = 'config/packages/twig_component.yaml';

if (!$this->fileManager->fileExists($path)) {
throw new RuntimeCommandException(message: 'Unable to find twig_component.yaml');
return;
}

try {
Expand Down

0 comments on commit f1d149d

Please sign in to comment.