[2.0] Fixed issue with AbstractFileDriver exporter that was generating files using backslashes instead of dots, preventing the other exporters to work correctly.
This commit is contained in:
parent
eeec2e436c
commit
4a07ac26da
@ -84,7 +84,7 @@ abstract class AbstractExporter
|
||||
}
|
||||
|
||||
foreach ($this->_metadatas as $metadata) {
|
||||
$outputPath = $this->_outputDir . '/' . $metadata->name . $this->_extension;
|
||||
$outputPath = $this->_outputDir . '/' . str_replace('\\', '.', $metadata->name) . $this->_extension;
|
||||
$output = $this->exportClassMetadata($metadata);
|
||||
file_put_contents($outputPath, $output);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user