Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nasirkhan committed Nov 14, 2022
2 parents aee11a5 + 9367f0c commit c16eda3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/ModuleBuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ public function enableModule($moduleName)
{
$content = File::get(base_path('modules_statuses.json'));

File::put('modules_statuses.json', json_encode(array_merge(json_decode($content, true), [$moduleName => true]), JSON_PRETTY_PRINT));
File::put('modules_statuses.json', json_encode(array_merge(json_decode($content, true), [$moduleName => true]), JSON_PRETTY_PRINT));

$this->warn("\n'$moduleName' - Module Created Successfully!\n");
}
}

0 comments on commit c16eda3

Please sign in to comment.