This commit is contained in:
Manuel Raynaud
2014-01-22 12:52:36 +01:00
parent 9d1c1e3979
commit 1974d3e3c3
1201 changed files with 80 additions and 88 deletions

3
core/lib/Thelia/Command/ModuleGenerateCommand.php Executable file → Normal file
View File

@@ -110,8 +110,7 @@ class ModuleGenerateCommand extends BaseModuleGenerate
$schemaContent = str_replace("%%NAMESPACE%%", $this->module, $schemaContent);
file_put_contents($this->moduleDirectory . DIRECTORY_SEPARATOR . "Config". DIRECTORY_SEPARATOR . "schema.xml", $schemaContent);
}
catch (\Exception $ex) {
} catch (\Exception $ex) {
$fs->remove($this->moduleDirectory);
throw $ex;