diff --git a/src/Maker/MakeTwigComponent.php b/src/Maker/MakeTwigComponent.php index 4bf55ee8d..66da5e709 100644 --- a/src/Maker/MakeTwigComponent.php +++ b/src/Maker/MakeTwigComponent.php @@ -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 {