Skip to content

Commit 8eb6660

Browse files
committed
[Toolkit] Fix comptability with Windows
1 parent 59cb869 commit 8eb6660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Toolkit/src/Kit/KitSynchronizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private function synchronizeComponents(Kit $kit): void
7171
foreach ($finder as $file) {
7272
$relativePathNameToKit = $file->getRelativePathname();
7373
$relativePathName = str_replace($componentsPath.\DIRECTORY_SEPARATOR, '', $relativePathNameToKit);
74-
$componentName = $this->extractComponentName($relativePathName);
74+
$componentName = $this->extractComponentName(Path::normalize($relativePathName));
7575

7676
$meta = null;
7777
if ($this->filesystem->exists($metaJsonFile = Path::join($file->getPath(), str_replace('.html.twig', '.meta.json', $file->getBasename())))) {

0 commit comments

Comments
 (0)