Skip to content

Commit dcd2260

Browse files
authored
do not throw an error if config file does not exist (#1640)
1 parent 881ecf0 commit dcd2260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Maker/MakeTwigComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
106106
$path = 'config/packages/twig_component.yaml';
107107

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

112112
try {

0 commit comments

Comments
 (0)