@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | { |
24 | 24 | $module = $this->getModuleModel($name); |
25 | 25 | |
26 | - $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</>", function () use ($module) { |
|
27 | - $composer_file = $module->getPath() . DIRECTORY_SEPARATOR . 'composer.json'; |
|
26 | + $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</>", function() use ($module) { |
|
27 | + $composer_file = $module->getPath().DIRECTORY_SEPARATOR.'composer.json'; |
|
28 | 28 | |
29 | 29 | $composer = json_decode(File::get($composer_file), true); |
30 | 30 | if (!$composer) { |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | // Get the module name. |
39 | 39 | $name = $module->getStudlyName(); |
40 | 40 | |
41 | - $path = trim($this->option('path') ?? (strlen($p = config('modules.paths.app_folder')) ? $p : 'app'), '/') . '/'; |
|
41 | + $path = trim($this->option('path') ?? (strlen($p = config('modules.paths.app_folder')) ? $p : 'app'), '/').'/'; |
|
42 | 42 | |
43 | 43 | $path_name = trim($path, '/'); |
44 | 44 |