fix missing argument for sprintf method
This commit is contained in:
@@ -63,7 +63,7 @@ class ModuleGenerateModelCommand extends BaseModuleGenerate {
|
|||||||
$fs = new Filesystem();
|
$fs = new Filesystem();
|
||||||
|
|
||||||
if ($fs->exists($this->moduleDirectory) === false) {
|
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) {
|
if ($fs->exists($this->moduleDirectory . DS . "Config" . DS . "schema.xml") === false) {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ class ModuleGenerateSqlCommand extends BaseModuleGenerate {
|
|||||||
$fs = new Filesystem();
|
$fs = new Filesystem();
|
||||||
|
|
||||||
if ($fs->exists($this->moduleDirectory) === false) {
|
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) {
|
if ($fs->exists($this->moduleDirectory . DS . "Config" . DS . "schema.xml") === false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user