@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | { |
23 | 23 | $module = $this->getModuleModel($name); |
24 | 24 | |
25 | - $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</>", function () use ($module) { |
|
26 | - $composer_file = $module->getPath() . DIRECTORY_SEPARATOR . 'composer.json'; |
|
25 | + $this->components->task("Updating <fg=cyan;options=bold>{$module->getName()}</>", function() use ($module) { |
|
26 | + $composer_file = $module->getPath().DIRECTORY_SEPARATOR.'composer.json'; |
|
27 | 27 | $composer = json_decode(File::get($composer_file), true); |
28 | 28 | |
29 | 29 | $autoload_psr4 = data_get($composer, 'autoload.psr-4') ?? []; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | // Get the module name. |
33 | 33 | $name = $module->getStudlyName(); |
34 | - $app_path = trim(strlen($path = config('modules.paths.app_folder')) ? $path : 'app', '/') . '/'; // accept app_path option |
|
34 | + $app_path = trim(strlen($path = config('modules.paths.app_folder')) ? $path : 'app', '/').'/'; // accept app_path option |
|
35 | 35 | $app_path_name = trim($app_path, '/'); |
36 | 36 | |
37 | 37 | // Remove old app key |