We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8f27c commit 5451620Copy full SHA for 5451620
src/Toolkit/src/Kit/KitContextRunner.php
@@ -92,7 +92,7 @@ public function findAnonymousComponentTemplate(string $name): ?string
92
{
93
foreach ($this->kit->getRecipes(type: RecipeType::Component) as $recipe) {
94
foreach ($recipe->getFiles() as $file) {
95
- if (str_ends_with($file->sourceRelativePathName, str_replace(':', \DIRECTORY_SEPARATOR, $name).'.html.twig')) {
+ if (str_ends_with($file->sourceRelativePathName, str_replace(':', '/', $name).'.html.twig')) {
96
return $file->sourceRelativePathName;
97
}
98
0 commit comments