Skip to content
Snippets Groups Projects
Commit ee355fef authored by Olga Kopylova's avatar Olga Kopylova
Browse files

MAGETWO-43774: Incorrect paths on Windows

- applied lost fix
parent 1be3df80
No related merge requests found
...@@ -48,7 +48,7 @@ class ComponentRegistrar implements ComponentRegistrarInterface ...@@ -48,7 +48,7 @@ class ComponentRegistrar implements ComponentRegistrarInterface
if (isset(self::$paths[$type][$componentName])) { if (isset(self::$paths[$type][$componentName])) {
throw new \LogicException('\'' . $componentName . '\' component already exists'); throw new \LogicException('\'' . $componentName . '\' component already exists');
} else { } else {
self::$paths[$type][$componentName] = $path; self::$paths[$type][$componentName] = str_replace('\\', '/', $path);
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment