Skip to content

Commit 59a7b4f

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

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
@@ -70,7 +70,7 @@ private function synchronizeComponents(Kit $kit): void
7070

7171
foreach ($finder as $file) {
7272
$relativePathNameToKit = $file->getRelativePathname();
73-
$relativePathName = str_replace($componentsPath.\DIRECTORY_SEPARATOR, '', $relativePathNameToKit);
73+
$relativePathName = str_replace($componentsPath.'/', '', Path::normalize($relativePathNameToKit));
7474
$componentName = $this->extractComponentName($relativePathName);
7575

7676
$meta = null;

0 commit comments

Comments
 (0)