From 8e975a9b622324d4fef7fe68787d0dadb775e3fd Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 12 Jul 2013 09:08:51 +0200 Subject: [PATCH] fix missing argument for sprintf method --- core/lib/Thelia/Command/ModuleGenerateModelCommand.php | 2 +- core/lib/Thelia/Command/ModuleGenerateSqlCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Thelia/Command/ModuleGenerateModelCommand.php b/core/lib/Thelia/Command/ModuleGenerateModelCommand.php index 41638414e..0b278973e 100644 --- a/core/lib/Thelia/Command/ModuleGenerateModelCommand.php +++ b/core/lib/Thelia/Command/ModuleGenerateModelCommand.php @@ -63,7 +63,7 @@ class ModuleGenerateModelCommand extends BaseModuleGenerate { $fs = new Filesystem(); if ($fs->exists($this->moduleDirectory) === false) { - throw new \RuntimeException(sprintf("%s module does not exists")); + throw new \RuntimeException(sprintf("%s module does not exists", $this->module)); } if ($fs->exists($this->moduleDirectory . DS . "Config" . DS . "schema.xml") === false) { diff --git a/core/lib/Thelia/Command/ModuleGenerateSqlCommand.php b/core/lib/Thelia/Command/ModuleGenerateSqlCommand.php index 113e3288f..0f8cad20e 100644 --- a/core/lib/Thelia/Command/ModuleGenerateSqlCommand.php +++ b/core/lib/Thelia/Command/ModuleGenerateSqlCommand.php @@ -55,7 +55,7 @@ class ModuleGenerateSqlCommand extends BaseModuleGenerate { $fs = new Filesystem(); if ($fs->exists($this->moduleDirectory) === false) { - throw new \RuntimeException(sprintf("%s module does not exists")); + throw new \RuntimeException(sprintf("%s module does not exists", $this->module)); } if ($fs->exists($this->moduleDirectory . DS . "Config" . DS . "schema.xml") === false) {